Because \dpi{120} sin(2t+5) has the range between 1 and -1, if you sketch the sine graph, as the 2t+5 in this case only dictates the period. So the highest value it can take is 1, therefore the greatest acceleration is for 12X1= 12 m/s^2.
I just look at the amplitude of the graph \dpi{120}...