Answer: The value of y is 12 or -4 .
Step-by-step explanation:
It is given that the two endpoints of AB are A(2,4) and B(8,y). The length of AB is 10.
Distance formula is,



Squaring both sides.



Use grouping method to find the factors.



Equate each factor equal to 0.




Therefore the values of y are either 12 or -4.