Q: Solve:
Solve 54*d = 1370 - 433 + 251 for d.

A: 22

Q: Solve:
Solve -19 = -69*p - 1744 for p.

A: -25

Q: Solve:
Solve -442*a - 18868 + 2429 = 2590 + 2187 for a.

A:
-48