To differentiate x2 you bring the power of x down, then reduce the power of x by 1, so d/dx(x2) = 2x1
ln3x differentiates to (d/dx(3x))/3x = 3/3x = 1/x
e^x differentiates to (d/dx(x))e^x = 1e^x
Therefore, d/dx(4x2 + 2ln3x + ex) = 4(2x) +2(1/x) + ex = 8x + 2/x + ex