The graph of a sinusoidal function intersects its midline at (0, -7) and then has a minimum point at (pi/4, -9)

Write the formula of the function, where x is entered in radians