T2>T1 if the masses of the blocks and the spring constants are equal
u might have got the time period of the first block as T1 = 2 pie (m/k)^1/2
in second one if the block is pulled by x distance from the equilibrium position then the pulley will be displaced by x/2 distance as a result an upward force of -kx/2 is experienced by the pulley. now the tension in the string joining pulley with spring is twice the tension in the string joining the block with the ground. so the force on the block
F = -kx/4
so time period of the second block T2 = 2 pie (4m/k)^1/2 T2 = 2pie x 2 (m/k)^1/2
so T2 = 2T1