Prove the Chain Rule.

Problem: 

Prove that if g(x) is differentiable at a and f(x) is differentiable at g(a) then (fg)(a)=f(g(a))g(a).