Divide by $c$ on both sides to have $$\frac1c\sin(x)+\frac{\sqrt{5}}{c}\cos(x)=\sin(x+d)$$
You would have the angle addition rule for sine here if
$$\begin{align}
\cos(d)&=\frac1c\\
\sin(d)&=\frac{\sqrt5}{c}
\end{align}$$
Square both sides of both equations and add corresponding sides together to give yourself a quadratic equation in $c$. From there, for each of the two solutions for $c$ (which are $\pm\sqrt{6}$), use the above two equations to deduce what quadrant $d$ is in (if $c>0$, $d$ is in quadrant I, otherwise $d$ is in quadrant III), and then use the appropriate variation on $\arccos$ or $\arcsin$ to solve for $d$. (If $d$ is in quadrant I, $d=\arccos\left(\frac1c\right)+2\pi k$, and if $d$ is in quadrant III, $d=\frac\pi2-\arccos\left(\frac1c\right)+2\pi k$.)