Calculus Examples

Find the Local Maxima and Minima cos(x)-7x
I am unable to solve this problem.