Besides integration by parts, is there any trick to calculate integrals such a$$\int_0^\infty \left(\frac {2x^3}{3K}\right) e^{-x}dx=1 $$
I got $K=4$ by using integration by parts multiple times, but I think there should be some sort of formula to solve this kind of integrals.
You could use the Gamma function,
$$ \Gamma(z) = \int_0^{+\infty}{\rm d}x~x^{z-1}e^{-x} $$
such that your integral becomes
$$ \frac{2}{3K} \int_0^{+\infty}{\rm d}x~x^{3}e^{-x} = \frac{2}{3K}\color{red}{\Gamma(4)} = \frac{2}{3K}\color{red}{3!} $$
where I've used the property
$$ \Gamma(n + 1) = n! $$