Let the coordinates of the points be P(h,k). Also, k = 3h + 1. The distance of point P from the origin is equal to the distance of P from (-3, 4). By setting these distances equal to one another and solving, we arrive at the solution.
Let y represent the gallons of water left in the barrel, and let x represent the minutes that have passed. Water escapes the barrel at a rate of 1 gallon for every 10 minutes. Consequently, the appropriate linear equation for this scenario is shown in the attached graph.