how did you find the roots of each equation