has the solutions:
The discriminant is the term under the root-sign.
According to your first question you get:
To get only one result the discriminant must be zero. Therefore m must be 9. Then both roots are 3.
Do the second example in just the same way.
Solve for x:
According to the question you know that :