A line passes through the point (-2, 7) and has a slope of -5.

What is the value of a if the point (a, 2) is also on the line?

A. 7
B. -1
C. 1
D. 7​