It is indicated that the diagram is drawn to scale, so you need to use a measuring instrument (ruler) to work out the proportions
The distance from the centre of the planet to the centre of x is approximately 4.5cm (based on the screenshot), and the distance to y is 6.75cm
Using the formula Fg = GmM/d^2, and substituting the values for r, the answer ends up being 2.25