Solve linear equations with variables on both sides: word problems