Answer:
x - 7 + (22 / x+2)
Explanation:
You can use synthetic division. Synthetic division composes of writing the coefficients of the polynomial being divided, including every single degree from n to 0. For example x^3 + 2 includes the coefficients of x^2 and x which would just be 0. But in this case we don't have any missing values.
-2 | 1 -5 8
-2 14
1 -7 22
So all you do is write the root of the polynomial your dividing by in the top left which in this case is -2 and then write out the coefficients of the polynomial that you're dividing to the right of it. You drop the first value which in this case is 1 and then you multiply it by the root in the top left which is (1 * -2) = -2 and then you bring that below the next coefficient which is -5 and then you add them (-5 + (-2)) = -7 and then drop that down. You then multiply that by -2 and then repeat until you reach the end. If there is a value other than 0 in the last slot that is the remainder.
x - 7 + (22 / x+2)