What is the solution to this math problem?
Solve 504*d - 133768 = -166528 for d.
-65