How do you find the value of a given the points (8,-2), (5,a) with a distance of 3?