Whats x for both of these equations

Answer:
Step-by-step explanation:
y = -2x + 1
y = x + 4
2x + y = 1 _______(1)
-x + y = 4_______(2)
[tex] - x + y - (2x + y) = 4 - 1 \\ - x + y - 2x - y = 3 \\ - 3x = 3 \\ x = \frac{3}{ - 3} \\ x = - (1) \\ [/tex]
x = (-1),
[tex]2x + y = 1 \\ 2( - 1) + y = 1 \\ - 2 + y = 1 \\ y = 1 + 2 \\ y = 3 \\ [/tex]