Solve this math problem

Solve -198 = 31*f + 8*f - 17*f for f.
-9