$$\displaystyle\frac{d}{d x } \left(3 \sin ( { e }^{ x } ) \right)$$
$3e^{x}\cos(e^{x})$
$3e^{x}\left(-e^{x}\sin(e^{x})+\cos(e^{x})\right)$