Fill in the given values in
... y = (amplitude)×cos(2π(x + (horizontal offset to the left))/(period)) + (vertical shift)
... y = 4×cos(2(x+pi/2)) +3
_____
Note that the period is π and the horizontal offset is π/2, half a period. This has the effect of turning the waveform upside down.