Answer:
p = 8
Step-by-step explanation:
[tex]\frac{2+p}{2}=\frac{1+6+p}{3}\\\\\frac{2+p}{2}=\frac{7+p}{3}\\\\[/tex]
Cross multiply
(2+p) * 3 = (7 + p) * 2 {Use distributive rule}
2*3 + p*3 = 7*2 + p *2
6+ 3p = 14 + 2p {subtract 2p form both sides}
6 + 3p - 2p= 14
6 + p = 14 {Subtract 6 form both sides}
p = 14 - 6
p = 8