Solve this math problem

Solve -5*p + 8 + 24 = 2 for p.
6