You can put this solution on YOUR website! Two conditions can happen for . Either it may be non-negative, or it can be negative. Solve according to BOTH cases separately.
CASE nonneg -------this is only part of the solution.
YOU do the other case.
Check BOTH results to see if each works.