Let m1 and m2 be slopes of pair of lines.
So, m1+m2=2tanθsin2θ and m1m2=−tan2θ+cos2θsin2θ
take m1=tanθ1 and m2=tanθ2
Using half angle trigonometric formula,
tan(θ1+θ2)=m1+m21−m1m2=2tanθ1+tan2θ=√32
tan(θ1+θ22)=m
2m1−m2=√32
(1m−m)=4√3
So,
81(m−1m)4+27(m−1m)2=2448