Write down the solution for this math problem: Solve -581*h + 164*h + 1292 + 1210 = 0 for h.
6