a) In the circuit below find i1, i2, and i3, using nodal analysis. Note that the items in Blue were not on the original diagram but were added to assist in the solution.

I have chosen the bottom node as the reference node and labeled the other two as VA and VB.
The 80 V source directly connects node B to the reference node, thus
VB = 80
and node B becomes part of a supernode including the reference node, so no KCL equation will be required for that supernode.
We still must write KCL at node A. I will sum the currents out of the node.
First we need to determine V5 in order to determine the current out of node A through the 5K resistor. Equating the difference in node voltages with the summ of voltages along the left-most branch of the circuit yields
VA = V5 - 30
so
V5 = VA + 30
Now we can write KCL at node A.
and substituting for VB and V5 gives
Multiplying through by 5000 gives
VA + 30 + 10 VA + 5 VA - 400 + 50 = 0
16 VA = 320
VA = 20 volts
Now we can find the three desired currents.
We can get i1 and i2 using Ohm's Law
i1 = - V5 / 5K (note that the arrow enters the negative reference, thus the negative sign)
i1 = - (VA + 30) / 5K = - 50 / 5K
i1 = - 10 mAi2 = VA / 500 = 20 / 500
i2 = 40 mA
For i3, KCL at the bottom node gives
i1 = i2 + i3 + i4
thus
i3 = i1 - i2 - i4
i3 = - 10m - 40m - VB / 4K = - 50m - 80 / 4K
i3 = - 70m
First calculate the power developed by the sources, making certain that none are actually absorbing power.
30 V source (note that the equation for power developed is negative since the arrow enters the positive - one of the few cases where a negative appears in this situation.)
Pdev = - 30 (i1) = -30 (-10m) = 300 mW
10 mA source
Pdev = 10m (VB - VA) = 10m (80 - 20) = 600 mW
80 V source (See note on 30 V source calculation)
Pdev = - 80 (i3) = - 80 (- 70m) = 5.6 W
So the total power developed is
PTdev = 300m + 600m + 5.6
PTdev = 6.5 W
Now calculate the power absorbed by the resistors.
5K (note that this equation has a negative sign inserted since the arrow enters the negative reference)
Pabs = - i1 (V5) = - (- 10m) (50) = 500 mW
500 W
Pabs = i2 (VA) = 40m (20) = 800 mW
1K (since we do not already have the current through the 1K resistor, I will calculate the power absorbed using P = V2 / R)
Pabs = (VB - VA)2 / 1K = 602 / 1K = 3.6 W
4K (see note on 1K above)
Pabs = (VB)2 / 4K = 802 / 4K = 1.6 W
Thus the total power absorbed (or dissipated) is
PTabs = 500m + 800m + 3.6 + 1.6
PTabs = 6.5 W
Since the total power developed equals the total power absorbed, the calculated values for the various voltages and currents are almost certainly correct.