$ O = \underbrace{a+b}_{=2R+2r} + \underbrace{c}_{=2R} = 4R+2r $