which equation has (2, -1) as a solution?

A. y = 2x - 1
B. y = x + 3
C. y = x - 3
D. y = -2x + 1

If someone could explain this to me it would be greatly appreciated. Thank you.