Expand (x+x1)3 using (a+b)3, then integrate each power of x separately.
First expand the cube using (a+b)3=a3+3a2b+3ab2+b3 with a=x, b=x1:
(x+x1)3=x3+3x2⋅x1+3x⋅x21+x31=x3+3x+x3+x31.
Now integrate term by term:
∫x3dx=4x4,∫3xdx=23x2,∫x3dx=3logx,
∫x31dx=∫x−3dx=−2x−2=−2x21.
Adding these:
∫(x+x1)3dx=4x4+23x2+3logx−2x21+c.