Q: Solve:
Solve -44 - 10702 = -597*p for p.

A: 18

Q: Solve:
Solve 1215*d - 42377 = -3497 for d.

A: 32

Q: Solve:
Solve -79*w + 214 - 831 = 331 for w.

A:
-12