For the following system, use the second equation to make a substitution for y in the first equation.

2x + y = 6
y = 3x + 4

What is the resulting equation?

y + 2x + y = 6
2x + y + 3x + 4 = 6
2x + (3x + 4) = 6