Use the discriminant to determine the number and type of sol…