The graph of the function is:
and therefore, the answer is D.
This comes from the fact that the midpoint of the function is on the y-axis and the first maximum happens when the x values is positive and then this is a sine function; once we know this we just need to translate the function three units down and then we get function D.