${\color{red}u = e^t} \ \Rightarrow \ {\color{blue}du = e^t dt}$
So: $\int \cos \left({\color{red}e^t}\right) {\color{blue}e^tdt} = \cdots$