(1) Recall the integral formula for variance:

Use the fact that Var[X]=E[(Xμ)2].

Var[X]=(xμ)2fX(x)dx

(2) Compute μ=E[X]:

E[X]=03xe3xdx=limb[xe3xe3x3]|0b=13

(3) Compute Var[X]:

Var[X]=0(x13)23e3xdx=limb0b3x2e3x2xe3x+e3x3dx =limb[x2e3xe3x9]|0b=19