Remember that for this case what you should do is evaluate the function in two known points and verify that it matches the graph.
y = 3cos (x) +3.
For x = 0 we have:
y = 3cos (0) +3.
y = 3 + 3
y = 6
For x = pi we have:
y = 3cos (pi) +3.
y = -3 + 3
y = 0
Answer:
y = 3cos (x) +3.
option 2