Solving Equations with Distributive Property