What is the result of dividing x^3−7 by x + 2?

x^2−2x+4− 15/x+2

x^2−2x+4− 1/x+2

x^2−2x+4+ 1/x+2

x^2−2x+4+ 15/x+2