What is the solution to this math problem?
Solve -2949*q + 1820*q = -24838 for q.
22