The correct option is
B π[√lg+√mk]As pendulum is released for the half of pendulums time period. It will perform SHM and after striking the block, the block will perform half SHM ie, both the block and pendulum will perform half SHM.
So final time period,
T=π√lg+π√mkT=π[√lg+√mk]