Cho f(x) = x2 lnx và g(x) = xlnx. Tính f'(x) và \(\int g\left(x\right)dx\).