What is the result of substituting for y in the bottom equation?

y = x – 7
y = x^2 + 2x – 4

A. x – 7 = x^2 + 2x – 4
B. y = (x – 7)^2 + 2(x – 7) – 4
C. x – 7 = x^2
D. y = x^2 + 2x – 4 – (x – 7)