Why x can appear on both sides
Equations such as 5x - 3 = 2x + 12 are still linear. Solving starts by moving variable terms to one side and constants to the other while keeping the equation balanced.
When the x terms cancel completely, the remaining statement determines whether there is no solution or infinitely many solutions.