Solve this math problem

Solve -751*p = -95*p + 242*p - 6625 - 4151 for p.
12