Questions on Algebra: Polynomials, rational expressions and equations answered by real tutors!

Algebra ->  Algebra -> Questions on Algebra: Polynomials, rational expressions and equations answered by real tutors!     (Log On)
Ad: Algebra Solved!™: algebra software that solves YOUR algebra homework problems with step-by-step help!



Question 152518: g(2+h)=x to the third
the instructor gave us x=(2+h)
and the answer 8+12h+6h suared+h to the third
i haven't been able to get that as my answer.
here's what I have done:
g(2+h)=x to the third
g=(2+h)to the third
g=(2+h)(2+h)(2+h)
g=4+2h+2h+hsquared(2+h)
g=8+4h+4h+2h+2h+2hsquared+h to the third
g=8+12h+2hsquared+h to the third
: g(2+h)=x to the third
the instructor gave us x=(2+h)
and the answer 8+12h+6h suared+h to the third
i haven't been able to get that as my answer.
here's what I have done:
g(2+h)=x to the third
g=(2+h)to the third
g=(2+h)(2+h)(2+h)
g=4+2h+2h+hsquared(2+h)
g=8+4h+4h+2h+2h+2hsquared+h to the third
g=8+12h+2hsquared+h to the third

Answer by Earlsdon(3748) About Me  (Show Source):
You can put this solution on YOUR website!
(2+h)^3 = (2+h)(2+h)(2+h) You are ok up to this point.
(2+h)(2+h) = 4+2h+2h+h^2 which simplifies to 4+4h+h^2 Now you multiply this by (2+h)
(4+4h+h^2)(2+h) = 8+8h+2h^2+4h+4h^2+h^3 Combining like-terms, you get:
8+12h+6h^2+h^3 So...
g(2+h) = 8+12h+6h^2+h^3