(2p+4)+5(p-1)-(p+7)
[tex](2p + 4) + 5(p - 1) - (p + 7)[/tex]

[tex](2p+4)+5(p-1)-(p+7)\\ \\ 2p+4+5p-5-(p+7)\\ \\ 2p+4+5p-5-p-7\\ \\ (2p+5p-p)+4-5-7\\ \\ (7p-p)-1-7\\ \\ 6p-8=2(3p-4)[/tex]
That should be the final answer. If you need help with the distribution process I can explain that separately if needed. If not, hope this helps!