How to sketch this trigonometry graph?

enter image source here