Question 789231
Let m = the slope

You did not provide the quantities.

m = (q-0)/(p-0)

m = q/p

Use point slope formula to find your equation. 

y-y1 = m(x-x1)

y - 0 = (q/p)(x-0)

y = (q/p)(x)

y = qx/p