$$16\left(2a^{10}p^{11}-a^{8}p^{9}+a^{4}p^{5}\right)$$
Consider $2a^{10}p^{11}-a^{8}p^{9}+a^{4}p^{5}$. Factor out $a^{4}p^{5}$.$$a^{4}p^{5}\left(2a^{6}p^{6}-a^{4}p^{4}+1\right)$$
Rewrite the complete factored expression.$$16a^{4}p^{5}\left(2a^{6}p^{6}-a^{4}p^{4}+1\right)$$