For the first one, lets use a method known as 'integration by recognition'.
\(\displaystyle \int xe^{2x}dx\)
Since we have a power of x that is 1, we use a linear set up:
\(\displaystyle (Ax+B)e^{2x}=xe^{2x}\)
Differentiate:
\(\displaystyle 2Axe^{2x}+Ae^{2x}+2Be^{2x}=xe^{2x}\)
equate coefficients:
\(\displaystyle A+2B=1\)
\(\displaystyle 2A=1\)
\(\displaystyle A=\frac{1}{2}, \;\ B=\frac{-1}{4}\)
So, we have:
\(\displaystyle \boxed{\frac{1}{2}xe^{2x}-\frac{1}{4}e^{2x}}\)
You can throw the 3 back in there.