Find all values of y such that the distance between (5,y) and (-7,2) is 18.
Remember that
The formula to calculate the distance between two points is equal to
![d=\sqrt[]{(y2-y1)^2+(x2-x1)^2}](https://img.qammunity.org/2023/formulas/mathematics/college/ue8sr3u6i3qfbbanzjf0mad9vvm6gar530.png)
substitute the given values
![18=\sqrt[]{(y-2)^2+(5+7)^2}](https://img.qammunity.org/2023/formulas/mathematics/college/cuaw46mvp8brwhw1jokti8bkxd29mjffo5.png)
![18=\sqrt[]{(y-2)^2+144}](https://img.qammunity.org/2023/formulas/mathematics/college/96at1pm3oqgsdm3kixhbxhzvmsjtcpvz45.png)
squared both sides

solve for y

take square root on both sides
![\begin{gathered} y-2=\pm\sqrt[]{180} \\ y=2\pm\sqrt[]{180} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/vsjyi050urtbomx1cva9vtcbwri5uk8z9u.png)
simplify
![y=2\pm6\sqrt[]{5}](https://img.qammunity.org/2023/formulas/mathematics/college/e9s1tvl8vaycefzcytyc894x5vwzsg3zxi.png)