Solve this math problem

Solve 3*i = -31 + 16 for i.
-5