Jack has 2, Maria has 9, Paul has 5.

solve for "k", to find k or the "constant of variation"
then plug k's value back to

now.... what is "p" when q = 5? well, just set "q" to 5 on the right-hand-side, and simplify, to see what "p" is
Y = mx + c
y = 2x + c
When x = 5 and y = 0,
0 = 2(5) + c
c = -10
y = 2x - 10
You need to combine like terms and subtract 30. How you find the answer is you work the problem first 1. Distribute the 6 (18x+30)-4x=35 then 2. combine like terms 18x and -4x. (14x+30)=35 then 3. Subtract 30 from both sides (14x)=5