Solve this math problem

Solve 585*c + 100*c = -171*c - 38520 for c.
-45