How to solve absolute values that contain a quadratic