What is the solution to this math problem?
Solve 13177*d + 312151 + 794717 = 0 for d.
-84