The evaluated integral is:
\[
\boxed{\frac{x^{40}}{40} - \frac{3x^{36}}{4} + \frac{81x^{32}}{8} - 81x^{28} + \frac{1701x^{24}}{4} - \frac{15309x^{20}}{10} + \frac{15309x^{16}}{4} - 6561x^{12} + \frac{59049x^{8}}{8} - \frac{19683x^{4}}{4} + C}
\]
where \( C \) is the constant of integration.