Q: Solve:
Solve 81*p + 642 = -47*p + 58*p - 128 for p.

A: -11

Q: Solve:
Solve 6*u + 166 = 178 for u.

A: 2

Q: Solve:
Solve -336 = 1027*m - 1075*m for m.

A:
7