Solve this math problem

Solve 8182 + 593 = -148*d - 177*d for d.
-27