Solve the following system of equations:

y=4x
y=2x^2

since y can be expressed in two ways, set them equal:

4x = 2x^2
4 = 2x
x = 2
Now you can find y easily.