x + 2y = 4 and x - 4y = 8, solve for x

Two simultaneous equations.

Multiply equation 1 by 2 and add the equations. Notice that this eliminates y so you can solve for x. Then plug x into either equation and solve for y.