Solving equations with linear expressions on one side and numbers on the other side