So this equation: $$\cos^2(x)+\cos(x)\sqrt{\cos^2(x)+3}+\sin(x)\cos(x)+\sin(x)\sqrt{\cos^2(x)+3}=\frac98$$ is kind of like the final part of a very much bigger geometry problem, what I mean is that the equation was originally this big of mess
$\frac{(4\cos(x)+\sqrt{16\cos^2(x)+48})^2-84+8\sin(x)(4\cos(x)+\sqrt{16\cos^2(x)+48})}{4}=0$
so uh yeah I got there after simplifying. And I've also tried factoring but ended up with $$(\cos(x)+\sin(x))(\cos(x)+\sqrt{\cos^2(x)+3})-\frac98=0$$ and I'm kind of stuck, I was just wondering if it exists a way of doing this algebraically and not graphically. And yes, I know there will be a better method to the geometry problem and I know, but I'm interested in solving the equation, not about the geometry problem.