what is the factor of x^4-x^2+16 and x^4-7x^2y^2+9y^4

Replace x^2 with b. This would make x^2 turn into b and x^4 turn into b^2.