contestada

A system of equations is shown.

X+y=7
2x-y=-1

What is the solution to the system of equations?

Giving brainliest.

Respuesta :

Answer:

x = 2

y = 5

Step-by-step explanation:

Rewrite x + y = 7 to make y the subject:

⇒ y = 7 - x

Substitute  y = 7 - x  into 2x - y = -1   and solve for x:

⇒ 2x - (7 - x) = -1

⇒ 2x - 7 + x = -1

⇒ 3x = 6

⇒ x = 2

Now substitute  x = 2  into one of the equations and solve for y:

⇒2 + y = 7

⇒ y = 5