Find x if it is between -90 and 0 degrees and
$$\frac{\sqrt3}{\sin(x)} + \frac{1}{\cos(x)} = 4$$
I think I got the solution but I don't know how to close it out
= $$\sin(x) + \sqrt3\cos(x) = 4\sin(x)\cos(x)$$
By R-method and double angle
=$$ 2\sin(x+60) = 2sin(2x)$$
= $$\sin(x+60) = \sin(2x)$$
but I keep on getting confused on how to solve this such that it is inside a specific bound, is there a formula or something, especially if there are variables on each side.

(Answer for the original question. For the edited question the answer is similar and I leave it to you to make appropriate changes) . Note that $|(x+\pi /3)- 2x| \leq \pi /3+\pi /2 =\pi$. Hence the only possibilites are $x+\pi /3=2x$ and $x+\pi /3=\pi - 2x$. This gives the solutions $x=\pi /3$ and $x=2\pi /9$.