Solving equations by multiplication and division