Okay, du question ay. Well, start with making y the subject and this will allow you to have

giving us

point P can be anywhere on the line. Now Q is where you want the line OP to be divided 3 to 2 internally so what happens is that we will pretend that
)
and since OQ is three fifth the distance of OP we will have
)
this will give us
\right))
. The idea of the locus is that it is a path and that it also has to satisfy the condition since P can be anywhere on the line from the question which is

so really you are looking for a parallel line for Q that divides OP internally in the ratio 3:2.