Check the final answer first, then review the worked steps.
p + 7p + 4p^3 + 10q^3 = 8p + 4p^3 + 10q^3