can somebody please help me

I have the question and answer to this question but i do not understand at all how the answer is concluded

Q: in the range 0<=x<=2Pi solve Sin2x=-1

A:3Pi/8 and 7Pi/8

could somebody maybe briefly explain how you work this out

thanks