Rewrite $ y^6-x^4 $ as:
$$ \color{blue}{ y^6-x^4 = (y^3)^2 - (x^2)^2 } $$Now we can apply the difference of squares formula.
$$ I^2 - II^2 = (I - II)(I + II) $$After putting $ I = y^3 $ and $ II = x^2 $ , we have:
$$ y^6-x^4 = (y^3)^2 - (x^2)^2 = ( y^3-x^2 ) ( y^3+x^2 ) $$