The vertical shift (D) is maximum (5) - amplitude (10) = -5
Of the given options, only A & D are candidates. Now we need to decide if it is a cos graph (A) or a sin graph (D). If we shift the graph up 5 units (to eliminate the vertical shift) , the graph would pass through the origin. Thus it is a sin graph and the answer must be option D.