To solve this system of equations, we can use substitution or elimination. Here's how to solve it using the substitution method:
1. Solve one of the equations for one of the variables. Let's solve the second equation for x:
x = 40 - y
2. Substitute this expression for x into the first equation and solve for y:
2(40 - y) + 4y = 100
80 - 2y + 4y = 100
2y = 20
y = 10
3. Substitute this value of y back into one of the original equations and solve for x:
x + 10 = 40
x = 30
So the solution to the system of equations is (x, y) = (30, 10).