Find the eccentricity of the conic $$(3x + 9)^2 + (3y – 12)^2 – (2x – y)^2 = 6y – 12x + 9$$
For this type of problem where the axis is not parallel to $x$-axis or $y$-axis, how do I factorize it so that I can get the equation in $\frac{X^2}{a^2}+\frac{Y^2}{b^2}=1$ or $\frac{X^2}{a^2}-\frac{Y^2}{b^2}=1$ form and easily find the value of $a$ or $b$.
Suppose you are given the general second degree equation $C\equiv ax^2+2hxy+by^2+2gx+2fy+c=0$
If you want eliminate the $xy$ term , rotate the coordinate axes by $$\displaystyle\theta=\frac{1}{2}\tan^{-1}\left(\frac{2h}{a-b}\right)$$ By doing so, the respective axes of the conic will become parallel to the coordinate axes.
If you want to eliminate the first degree terms, shift the origin to the center of conic which you can find by solving the two equations $$\frac{\partial(C)}{\partial x}=0\ \text{and}\ \frac{\partial(C)}{\partial y}=0.$$
Now, in your question we are concerned only with the eccentricity, so just rotating axes will do. Rotate the axes by $$\theta=\frac{1}{2}\tan^{-1}\left(-\frac{4}{3}\right)=\tan^{-1}\left(-\frac{1}{2}\right)$$ and write the equation in general form by completing square (which will still be messy). Figure for reference.