Math problem: Solve -2745 = -589*p - 17711 - 5060 for p.
What is the solution?
-34