Hello deltaxrayI think you mean that Q has coordinates:By similar triangles (or using the formula that you'll find in this post), the point Q that divides OP, where P is , in the ratio is

But if lies on the line , then

So Q is:i.e.

So, if the coordinates of Q are , then:

andSo the equation of the locus of Q is:

Grandad