Which equation shows the substitution method being used to solve the system of linear equations? i was thinking B but don't know for sure

x + y = 6
x = y + 2

A.
x + (y + 2) = 6

B.
x + y = y + 2

C.
(y + 2) + y = 6

D.
x = (x – 6) + 2