Write down the solution for this math problem: Solve -175*p - 294*p - 105*p = -23*p + 51794 for p.
-94