I am not enthusiastic about the prospects of finding an "algebraic" expression, since one is asked to solve for the angle $ \ \theta \ $ such that $ \ \cos \theta = \frac{1}{2} \sin x \ $ . (It gives nice answers at $ \ x = 0 \ $ and $ \ x = \frac{\pi}{2} \ , $ but in between... not so much.) Looking at trig identities or the Maclaurin series for arccosine and sine doesn't suggest any tidy results.
The function $ \ \arccos ( \frac{1}{2} \sin x ) \ $ [blue in the graph below] is "pretty well" approximated by $ \ \frac{\pi}{3} + \frac{2}{3 \pi} \cdot (x - \frac{\pi}{2} )^2 \ $ [the red curve] , fitting the vertex and $ \ y-$intercept exactly: the error is scarcely more than 3% anywhere in the first quadrant. But it doesn't look there is going to be a straightforward way to describe the blue curve using elementary functions...
!enter image description here