High school mathematics problem: determine that the equation (X-2) (X-5) = 1 has two different real number solutions, and one is greater than 5, one is less than 2

High school mathematics problem: determine that the equation (X-2) (X-5) = 1 has two different real number solutions, and one is greater than 5, one is less than 2

Take it apart first
Method one, directly find two, formula method, X1 = 1.69, X2 = 5.33
Method 2: create a new function g (x) = x ^ 2-7x + 9
g(2)