Solve this math problem

Solve 31*a - 164 = -40 for a.
4