Step 1: Understanding the Concept
Let a line through the origin have slope \(m = \dfrac{y}{x}\). The line \(y = x\) has slope \(1\). The angle \(\alpha\) between them satisfies \(\left|\dfrac{m - 1}{1 + m}\right| = \tan\alpha\).
Step 2: Form the Equation
Replace \(m\) by \(\dfrac{y}{x}\): \(\dfrac{y - x}{x + y} = \pm\tan\alpha\).
Squaring, \((y - x)^2\cos^2\alpha = (x + y)^2\sin^2\alpha\).