Answer:
x = 7 and y = 1
Explanation:
Coordinates of Coffee shop = (12, 16)
Coordinates of Library = (16, 8)
School has been shifted to the new position so that distance of school is preserved from the coffee shop.
Coordinates of the new position of school = (15, 10)
Ratio in which distance between coffee shop and library is divided by the location of school is x : y.
If a segment having extreme ends
and
is divided into two parts by point (x, y) in the ratio of m : n,
x =
![(mx_2+nx_1)/(m+n)](https://img.qammunity.org/2021/formulas/mathematics/high-school/e5b2zeqsltpammtucu80rhe60617dgalx5.png)
y =
![(my_2+ny_1)/(m+n)](https://img.qammunity.org/2021/formulas/mathematics/high-school/9qybx09hhcogn1ottfuwdxcj6rfui3ufxt.png)
From the points given in the picture,
15 =
![(16x+8y)/(x+y)](https://img.qammunity.org/2021/formulas/mathematics/high-school/ietm1mfol8pw5pv0y6jbemj9iq11uf30mt.png)
15x + 15y = 16x + 8y
15y - 8y = 16x - 15x
7y = x
![(x)/(y)=(7)/(1)](https://img.qammunity.org/2021/formulas/mathematics/high-school/zw09abkc7itpwtmc47andh3nmwbn0oztko.png)
Therefore, x = 7 and y = 1 will be the answer.