Rewrite the rational function g(x) = (x² + 7x - 12) / (x + 2) in the form of g(x) = p(x) + r / (x + 2) where p(x) is a polynomial, and r is an integer.
a. g(x) = x² + 7x - 12 + 2
b. g(x) = x² + 7x - 14 / (x + 2)
c. g(x) = x² + 7x / (x + 2)
d. g(x) = x² + 7x - 12 - 2 / (x + 2)