Show that $intf'(x)*g(f(x))dx = G(f(x)) + c, G'(x) = g(x)$ (with $f'(x)$ e $G'(x)$ I (obviously) mean that they are the derivatives with respect to the $x$ of the $2$ functions..)
P.S. : use the spoiler when you want to give the solutions so the other people can give their ones..