Solve y=kx for k

y=kx

Divide both sides by x.

y/x = k