Check the final answer first, then review the worked steps.
-ab(xa^6 + ya - 9) = -ab(xa^6) - ab(ya) - ab(-9) = -xa^7b - ya^2b + 9ab