My calc professor offered 20 points extra credit on the final to anyone that could differentiate a chain rule problem, using the derivative. (His example was xe^x). I consider myself pretty good at math, but after an hour of trying I just can't get it.

So could anyone show the steps to differentiate xe^x using the definition of the derivative (f(x+h)-f(x))/h