The graph of a sinusoidal function intersects its midline at (0,-6)
and then has a minimum point at (2.5,−9). Write the formula of the function, where x is entered in radians.