See picture for math work and answer.
Answer:
f(x)=2 cos(x)-1
Step-by-step explanation:
that is the answer