Solving equations by addition and multiplication