Solving linear equations in one variable