To solve the system of equations below, Maria isolated the variable y in the first equation and then substituted it into the second equation. What was the resulting equation?

{ 3y=12x
{x^2+y=18

A. x^2 + x = 18
B. x^2 − 4x = 18
C. x^2 + 4 = 18
D. x^2 + 4x = 18