Techniques of Differentiation

When then why is

It wouldn't be a problem for me if the equation would be in the normal quadratic form. Multiplying all terms with wouldn't do any good since I would get . Same if I would quadratize the equation by itself.

I think that they used the quadratic formula somehow but I don't see how.

Obviously the problem is the combination of