The parent cosine function is:
[tex]y=cos(x)[/tex]
The amplitude of the given function is 3, so the equation becomes:
[tex]y=3cos(x)[/tex]
The period of parent cosine function is 2π. In order to have a period of π, x will be multiplied by 2. So the function becomes:
[tex]y=3cos(2x)[/tex]
There is no horizontal shift. There is a vertical shift of 2, so 2 will be added to the function value. Thus the final expression for the function becomes:
[tex]y=3cos(2x)+2[/tex]