find the values of y if the distance between the two points (10,y) and (16,2) is 10.

i wrote down the distance formula:
10=SQRT(16-10)squared + (2-y)squared
now how do i solve for y??

2 answers

10 = sqrt (6^2+(2-y)^2)
square both sides
100 = 36 +4 -4y +y^2
60 = y^2 - 4y
y^2 - 4y - 60 = 0
(y-10)(y+6) = 0
y = 10 or - 6
if y = 10
d^2 = 36+ 64
d^2 = 100 yes, works
if y = -6
d^2 = 36 + 64 yes
so either 10 or - 6 work
thnks alot