Solve this math problem

Solve -322 = 27*f - 40*f + 94 for f.
32