On the X-Y plane, the points p and r are on the vertical line X=x. Then the perpendicular (horizontal) line through p will have the equation Y=y. Points q on that line will have coordinates
... q(<anything>, y)
Let x represent the amount of games played.
When x is used, it need to be multiplied by the price ($35).
x(35) = cost in $
Hope this helped :)
Kate needs to swim 40 laps to come complete 66 laps