You can put this solution on YOUR website! try writing it out in math terms.
Use + and - and / and *.
Be sure to be generous with parentheses . They are free today.
cubed is ^3 so two cubed is 2^3
squared is ^2 so three squared is
3^2x^3-3x^2+2x-8 divided by x^2+2
That is close but still no parentheses. They are still free today!
(x^3-3x^2+2x-8)/(x^2+2)