Solve -1479*d + 822*d = 3123*d + 147420 for d.
-39