When the function f(x) is divided by x + 2, the quotient is x² - 5x + 8 and the
remainder is 8. Find the function f(x) and write the result in standard form.