Let the velocity at the point is v and assume that the lower end the potential energy of the block is zero.
The total energy is given as,
E=12mv2+0
E=12mv2
At the maximum point the potential energy will be (mg)2l.
By the law of conservation of energy, it can be written as,
12mv2=mg×2l
v2=4gl
v=2√gl
Thus, the minimum horizontal velocity is 2√gl.