Ohm's law for closed circuit

E=IR+IrE = I\cdot R+I\cdot r
Find   It is known that:
      =