My teacher gave me this for geometry and I don’t know how to do it if anyone could. Could you do this give me answer and brief explanation

The coordiantes of point P are
[tex]P(-2,5)[/tex]and the coordinates of point R are
[tex]R(1,-7)[/tex]The point Q lies somewhere between P and R
What we know this that the ratio is
[tex]\frac{PQ}{QR}=\frac{2}{1}[/tex]This means the vertical distance (and likewise the horizontal distance) of Q from P is 2/3 the whole distance from P to R
The vertical distance from P to R is
[tex]5--7=12[/tex]and the horizontal distance is
[tex]1--2=3[/tex]2/3 0f these distance gives