To form a ball and socket joint, the structure labeled I fits into another structure…