Solve this math problem

Solve -509*f + 462*f - 564 = 0 for f.
-12