What is the solution?

Solve -265 = -135*d - 1040 - 170 for d.
-7