Write down the solution for this math problem: Solve 47 = -4*d + 81 - 58 for d.
-6