The vertices of a right triangle are (–5, –2), (–1, –6), and (–5, y).
Find the value of y.

A. -6
B. -5
C. -2
D. -1