please help with the following problem using the substitution method

y=2x
x+y=12

thanks

x + 2x = 12
3x = 12
x = 4
y = 2x = 8