Answer
$-5 \ \cos(\pi t)$
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=-a\cdot \cos\left(\dfrac{2\pi}{T}\cdot t\right)=-5 \times \cos (\dfrac{2\pi}{2} \times t)=-5 \ \cos(\pi t)$