PLease solve by elimination.

2x+4y=8
5x+y=-7

To solve the system of equations using the elimination method, we need to eliminate one variable at a time by adding or subtracting the two equations.

Let's start by eliminating the y variable. To do this, we can multiply the second equation by 4 to match the coefficients of the y term in both equations:

2x + 4y = 8
5x + y = -7

Multiplying the second equation by 4 yields:

20x + 4y = -28

Now, we can subtract this new equation from the first equation to eliminate the y variable:

(2x + 4y) - (20x + 4y) = 8 - (-28)
2x + 4y - 20x - 4y = 8 + 28
-18x = 36
x = 36 / -18
x = -2

Next, substitute the value of x (-2) into one of the original equations (let's use the first equation) to solve for y:

2x + 4y = 8
2(-2) + 4y = 8
-4 + 4y = 8
4y = 8 + 4
4y = 12
y = 12 / 4
y = 3

Therefore, the solution to the system of equations is x = -2 and y = 3.

multiply the second by 4

2x+4y=8
20x+4y=-28
subtract
-18x = 36
x = -2

sub that back into one of the originals to get y