Enter two equations and this solves them by elimination, showing every step including which variable it chose to eliminate and why. Also called systems of equations in US courses.
Each equation describes a straight line. Solving them simultaneously means finding the point where those two lines cross, which is the one pair of x and y values that satisfies both equations at the same time.
That picture explains the odd cases too. Two parallel lines never cross, so there is no solution. Two equations describing the same line cross everywhere, so there are infinitely many solutions. Both are covered below.
The idea is to make one variable disappear. If both equations have the same number of y terms, subtracting one equation from the other removes y entirely and leaves a simple equation in x alone.
Usually the coefficients do not match to begin with, so you multiply one or both equations by whatever makes them match. Multiplying an entire equation by a number does not change what it means, since you are doing the same thing to both sides.
Once you have one variable, substitute it back into either original equation to get the other. Then check your answer in the equation you did not use, which catches arithmetic slips.