Given line equation of 2-order:
$$36 x^{2} + 24 x y + 4 y^{2} = 0$$
This equation looks like:
$$a_{11} x^{2} + 2 a_{12} x y + 2 a_{13} x + a_{22} y^{2} + 2 a_{23} y + a_{33} = 0$$
where
$$a_{11} = 36$$
$$a_{12} = 12$$
$$a_{13} = 0$$
$$a_{22} = 4$$
$$a_{23} = 0$$
$$a_{33} = 0$$
To calculate the determinant
$$\Delta = \left|\begin{matrix}a_{11} & a_{12}\\a_{12} & a_{22}\end{matrix}\right|$$
or, substitute
$$\Delta = \left|\begin{matrix}36 & 12\\12 & 4\end{matrix}\right|$$
$$\Delta = 0$$
Because
$$\Delta$$
is equal to 0, then
Rotate the resulting coordinate system by an angle φ
$$x' = \tilde x \cos{\left(\phi \right)} - \tilde y \sin{\left(\phi \right)}$$
$$y' = \tilde x \sin{\left(\phi \right)} + \tilde y \cos{\left(\phi \right)}$$
φ - determined from the formula
$$\cot{\left(2 \phi \right)} = \frac{a_{11} - a_{22}}{2 a_{12}}$$
substitute coefficients
$$\cot{\left(2 \phi \right)} = \frac{4}{3}$$
then
$$\phi = \frac{\operatorname{acot}{\left(\frac{4}{3} \right)}}{2}$$
$$\sin{\left(2 \phi \right)} = \frac{3}{5}$$
$$\cos{\left(2 \phi \right)} = \frac{4}{5}$$
$$\cos{\left(\phi \right)} = \sqrt{\frac{\cos{\left(2 \phi \right)}}{2} + \frac{1}{2}}$$
$$\sin{\left(\phi \right)} = \sqrt{1 - \cos^{2}{\left(\phi \right)}}$$
$$\cos{\left(\phi \right)} = \frac{3 \sqrt{10}}{10}$$
$$\sin{\left(\phi \right)} = \frac{\sqrt{10}}{10}$$
substitute coefficients
$$x' = \frac{3 \sqrt{10} \tilde x}{10} - \frac{\sqrt{10} \tilde y}{10}$$
$$y' = \frac{\sqrt{10} \tilde x}{10} + \frac{3 \sqrt{10} \tilde y}{10}$$
then the equation turns from
$$36 x'^{2} + 24 x' y' + 4 y'^{2} = 0$$
to
$$4 \left(\frac{\sqrt{10} \tilde x}{10} + \frac{3 \sqrt{10} \tilde y}{10}\right)^{2} + 24 \left(\frac{\sqrt{10} \tilde x}{10} + \frac{3 \sqrt{10} \tilde y}{10}\right) \left(\frac{3 \sqrt{10} \tilde x}{10} - \frac{\sqrt{10} \tilde y}{10}\right) + 36 \left(\frac{3 \sqrt{10} \tilde x}{10} - \frac{\sqrt{10} \tilde y}{10}\right)^{2} = 0$$
simplify
$$40 \tilde x^{2} = 0$$
$$\tilde x^{2} = 0$$
$$\tilde x^{2} = 0$$
$$\tilde x'^{2} = 0$$
Given equation is two parallel straight lines
- reduced to canonical form
where replacement made
$$\tilde x' = \tilde x$$
$$\tilde y' = \tilde y$$
The center of the canonical coordinate system in OXY
$$x_{0} = \tilde x \cos{\left(\phi \right)} - \tilde y \sin{\left(\phi \right)}$$
$$y_{0} = \tilde x \sin{\left(\phi \right)} + \tilde y \cos{\left(\phi \right)}$$
$$x_{0} = 0 \frac{3 \sqrt{10}}{10} + 0 \frac{\sqrt{10}}{10}$$
$$y_{0} = 0 \frac{\sqrt{10}}{10} + 0 \frac{3 \sqrt{10}}{10}$$
$$x_{0} = 0$$
$$y_{0} = 0$$
The center of canonical coordinate system at point O
(0, 0)
Basis of the canonical coordinate system
$$\vec e_1 = \left( \frac{3 \sqrt{10}}{10}, \ \frac{\sqrt{10}}{10}\right)$$
$$\vec e_2 = \left( - \frac{\sqrt{10}}{10}, \ \frac{3 \sqrt{10}}{10}\right)$$