Solve this math problem

Solve -50222 - 312034 = -8440*x - 41536 for x.
38