Find the equation of that line that bisects the acute angles determined by the given lines.

and

Attempt:

I know that i have to get the distance of d1 and d2 and then apply the equation

But when i try doing it i get very complex root forms and i guess it is wrong so how to do it ? :'(