Answer
$y=-6 \ \cos(2t)$
Work Step by Step
The object starts at the vertical position $y=-a$, and moves in the upward direction.
The frequency is given by: $\omega=\dfrac{2\pi}{T}$
So, the function has the form (simple harmonic motion):
$y=-a\cdot \cos(\omega t)=-a\cdot \cos(\dfrac{2\pi}{T} t)$.
Here,
$y=-6 \times \cos (\dfrac{2\pi}{\pi} \times t)=-6 \ \cos(2t)$