A line segment of length 5 has one endpoint at (1,2) and the other endpoint at (6,b). Find all possible values of b, separated by commas.
Using the distance formula yields: \(5 = \sqrt{({6 - 1})^2 + ({2 - b})^2}\).
Simplifying this equation gives us \(25 = 25 + (2-b)^2\), meaning \((2-b)^2 = 0\).
Can you take it from here?