Write down the solution for this math problem: Solve 10*c + 13*c = -42*c + 390 for c.
6