# How do you solve x + y = 6, and y = 2x?

Sep 6, 2015

x = 2
y = 4

#### Explanation:

x + y = 6 --------------(1)
y = 2x ----------------(2)

Substitute the value of y = 2x in equation (1)

x + 2x = 6
3x = 6
$x = \frac{6}{3} = 2$
x = 2

Substitute the value x = 2 in equation (2)

y = 2(2) = 4
y = 4