Applying the fundamental theorem of calculus which says that
$$\int_a^b f(t)dt=F(t)\Big|_a^b=F(b)-F(a)$$ where ##F(t)## is a function satisfying $$\frac{dF(t)}{dt}=f(t).$$
Then you also need to use elemental algebra and complex analysis.
Well, notice that in the final answer you have the term $$e^{\frac{-j\pi k}{3}}$$ so it would be a good idea to multiply by $$1=e^{\frac{-j\pi k}{3}}e^{\frac{j\pi k}{3}}.$$