Explanation:
The outer term 2p is distributed among the three terms inside the parenthesis. We will multiply 2p by each term inside
2p times 4p^2 = 2*4*p*p^2 = 8p^3
2p times 5p = 2*5*p*p = 10p^2
2p times 7 = 2*7p = 14p
The results 8p^3, 10p^2 and 14p are added up to get the final answer shown above. We do not have any like terms to combine, so we leave it as is.