Show that two straight lines through the origin, which makes an angle of $\frac{\pi}{4} $ with the line $px+qy+r=0$ are given by $(p^2-q^2)(x^2-y^2)+4pqxy=0$
My Attempt: Let $y-m_1x=0$ and $y-m_2x=0$ be two straight lines passing through origin. The combined equation is $$(y-m_1x)(y-m_2x)=0$$ $$y^2-(m_1+m_2)xy+m_1.m_2x^2=0$$