Solve this math problem

Solve 10 = 8*d + 50 for d.
-5