Solve this math problem

Solve 200 + 640 = 84*d + 3108 for d.
-27