Concept:Use the formula for integration by parts: ∫udv=uv−∫vdu.Explanation:Given f(x)=1+x and g(x)=logx.So g(f(x))=log(1+x).Thus we need to evaluate ∫log(1+x)dx.Write it as ∫1⋅log(1+x)dx and take u=log(1+x), dv=dx.Then du=1+x1dx and v=x.Applying integration by parts:∫log(1+x)dx=xlog(1+x)−∫1+xxdx+c.Now rewrite 1+xx=1−1+x1.So the integral becomes:xlog(1+x)−[∫1dx−∫1+x1dx]+c.This simplifies to:xlog(1+x)−x+log(1+x)+c.Factor out log(1+x):(1+x)log(1+x)−x+c.Answer:∫g(f(x))dx=(1+x)log(1+x)−x+c.Hence the correct option is A.