When the two pendulums are joined rigidly and set to osciallate, each exert torques on the other, these torques are equal and opposite. We write the law of motion for the two pendulums as
`I_(1)ddot(theta)=- omega_(1)^(2)I_(1)theta+G`
`I_(2)ddot(theta)=- omega_(2)^(2)I_(2)theta-G`
where `+-G` is the torque of mutual interactions. We have written forces on each pendulum in the absence of the other as `-omega_(2)^(2)I_(1)theta` and `-omega_(2)^(2)I_(2)theta` respectively. Then
`ddot(theta)=-(I_(1)omega_(1)^(2)+I_(2)omega_(2)^(2))/(I_(1)+I_(2))theta=-omega^(2)theta`
Hence `omega=sqrt((I_(1)omega_(1)^(2)+I_(2)omega_(2)^(2))/(I_(1)+I_(2))`