Using the zero product property to solve an equation