Write down the solution for this math problem: Solve 14*p - 364 + 294 = -1274 for p.
-86