Solve 31232 = -8831*d + 159254 + 22105 for d.
17