Q: Solve:
Solve 0 = q + 3 + 1 for q.

A: -4

Q: Solve:
Solve -10*y + 29*y = 171 for y.

A: 9

Q: Solve:
Solve -50956 = -6054*p + 112502 for p.

A:
27