Write down the solution for this math problem: Solve 77 = -23*d + 8 for d.
-3