Hi,
Note: exploring factor of the constant term 2, found that x = 2 is a root
f(2) = 8 - 24 + 14 + 2 = 0
x^2 - 4x -1
__________________________
x - 2 | x^3 - 6x^2 + 7x + 2
- (x^3 - 2x^2
---------------
-4x^2 + 7x
- (-4x^2 + 8x )
---------
-x + 2
- (-x + 2)
--------
0
x^2 - 4x -1