Solve 199*d = -63*d - 161*d - 40185 for d.
Solve this plz.

A: -95

Solve -948*p = 2782 + 39878 for p.
Solve this plz.

A: -45

Solve 30*n - 50*n = -36*n - 288 for n.
Solve this plz.

A:
-18