8 = 6 + p/2

*The p/2 is not dividing it's p over 2 like in a fraction.

8=6+p/2

(subtract 6 from both sides)
2=p/2
(multiply each side by 2)
4=p