
Consider a simple circuit in figure above.
Use the voltage law for loops 1 and 2 correspondingly, then add an equation by the current law:
12=10I1+20I2,−20I2+30I3=0,I1=I2+I3.
So, we have three equations and three unknown values, which means that we can solve this system with any method we know from the course of math. The roots are
I1=0.55 A,I2=0.33 A,I3=0.22 A.