The vertices of a right triangle are (6, 2), (–2, –4), and (–2, y).

What is the value of y?



A.
–4


B.
–2


C.
2


D.
4