Solve -290*n + 2114 - 791 = -997 for n.
Solve this plz.

A: 8

Solve 79*d - 78*d = 5 for d.
Solve this plz.

A: 5

Solve 585*c + 100*c = -171*c - 38520 for c.
Solve this plz.

A:
-45