Kirchhoff’s junction rule: The sum of currents entering a junction is equal to the sum of currents leaving it.
Kirchhoff’s loop rule: The sum of potential differences around a closed loop is zero
Let us label the circuit with currents in accordance with Kirchhoff’s junction rule.

Using Kirchhoff’s loop rule on ABCDA,
80 - 20I1 - 40I2 = 0
8 - 2I1 - 4I2 = 0
I1 + 2I2 - 4 = 0
I1 + 2I2 - 4 = 0 ......(1)
Using Kirchhoff’s loop rule on CDEFC,
-40I2 - 40 + 10(I1 - I2) = 0
-40I2 - 40 + 10I1 - 10I2 = 0
-50I2 - 40 + 10I1 = 0
I1 - 5I2 - 4 = 0 ......(2)
Subtracting (2) from (1), we get
7I2 = 0
I2 = 0
Substituting the value of I2 in (1), we get
I1 = 4A
Hence, there is no current through the 40Ω resistor and 4A current flows through the 20Ω resistor.