What is the solution to this math problem?
Solve 39919 + 2041 = 866*d - 13464 for d.
64