Math problem: Solve 0 = -265*d + 346 - 547 - 1389 for d.
What is the solution?
-6