factor completely

x^4y + 216xy^4

If you factor out xy, you have the sum of two cubes. You can factor the sum of two cubes with the formula.