Originally Posted by

**aceband** Hi,

First sorry if this is the wrong forum!

I'm following along with an example of the product rule in my text book but i can't tell how they've got form one step to another.

The question is: $\displaystyle (x+1)^3(2x-5)^2$

Eventually they go from this:

$\displaystyle

((2x-5)^2)(3(x+1)^2) + ((x+1)^3)(2(2)(2x-5))$

To this:

$\displaystyle (2x-5)(x+1)^2(3(2x-5)+4(x+1))$

And i can't tell how they've done that. I you could help at all it'd be a great help.

Thanks in advance