The values of x and y are 8 and 0 respectively.
<em><u>Explanation</u></em>
As 'p' is located at (0,0) and 'r' is located at (-12,0) , that means both 'p' and 'r' are on the x-axis. So point 'q' will be also on the x-axis , and 'q' is located at (x,y)
So, the value of y will be 0. That means the co ordinate of point 'q' is (x, 0)
Now, using the Distance formula, length of 'pq' 
and length of 'pr' 
Given that, pq : pr =2/3
So....

Thus, the values of x and y are 8 and 0 respectively.