Probably easiest to do: product rule then factorise

Edit:

Just in case a picture helps...

... where

... the product rule. Straight continuous lines differentiate downwards (integrate up) with respect to x

Note that you can almost forget the chain rule for (x-2)^2 because the inner derivative is 1.

__________________________________________

Don't integrate - balloontegrate!

http://www.ballooncalculus.org/forum/top.php

Draw balloons with LaTeX: http://www.ballooncalculus.org/asy/doc.html