y= e^-7x cos 5x

y'=

just use the product and chain rules:

y' = -7e^-7x cos5x - 5e^-7x sin5x
= -e^-7x (7cos5x + 5sin5x)