Solving Equations with the Distributive Property