Write the function for a cosine graph with an amplitude of five, period of pi over three, a phase shift of negative pie over 12 and vertical shift down 77

amplitude of five

y = 5cosx

period of π/3, 2π/k = π/3, so k = 6
y = 5cos(6x)

phase shift of -π/12 (assuming this means shift to the left)
y = 5cos(6 (x + π/12))

shift down 77
y = 5cos(6 (x + π/12)) - 77