I tried the general method of comparing separate equations ie. $$y=mx+\frac{1}{4m}$$ and $$y-3=mx\pm \sqrt 5( \sqrt {1+m^2})$$
Then $$\frac {1}{4m} =3 \pm \sqrt {5} (\sqrt {1+m^2})$$
I got stuck in the infinite operation of squaring the both sides.
However, even if I do eventually find the value of m after an eternity, it’s still an incredibly ineffecient way to solve. Is there a way to solve it more effectively, or is there an easier if squaring operation?