Answer
$$x=\frac{\pi }{2}+2\pi n$$
Work Step by Step
We solve the equation using the properties of trigonometric functions. Note, there is a general solution since trigonometric identities go up and down and this can pass through a given value of y many times. Solving this, we find:
$$2\sin \left(x\right)=2 \\ \sin \left(x\right)=1 \\ x=\frac{\pi }{2}+2\pi n$$