Consider $x^{2}-6xy+8y^{2}$ as a polynomial over variable $x$.
$$x^{2}-6yx+8y^{2}$$
Find one factor of the form $x^{k}+m$, where $x^{k}$ divides the monomial with the highest power $x^{2}$ and $m$ divides the constant factor $8y^{2}$. One such factor is $x-4y$. Factor the polynomial by dividing it by this factor.