A^3 - 2A^2 - A + 7 = 5
A^3 - 2A^2 - A + 2 = 0
A^2(A-2) - (A-2) = 0
(A-2)(A^2-1)=0
(A+1)(A-1)(A-2)=0
A1=-1,A2=1,A3=2