I need help solving this equation for all values of $x$:

$$\frac{\sin{x}}{2} + {\cos{x}} = 1$$

(Note from editor: Rewritten as per OP's intentions. See OP's comment below to clarify which of two interpretations of the original post was intended.)