The equation | x ^ 2 + ax + B | = 2 of X has three different real numbers, and the three different real numbers are exactly three sides of a right triangle. Find the right triangle

The equation | x ^ 2 + ax + B | = 2 of X has three different real numbers, and the three different real numbers are exactly three sides of a right triangle. Find the right triangle

Let f (x) = x ^ 2 + ax + B, since the image of F (x) is a parabola with the opening upward, so f (x) | = 2 has three roots, we can get that f (x) = 2 has two different real roots, and f (x) = - 2 has two equal real roots