$l$ is the length of $cube/cylinder$ dipped in the water.
So according to law of floatation,
weight of the cube $=$ weight of the water displaced
$a b c \times d \times g=b c l \times 1 \times g$
$\Rightarrow l=d a$
$\Rightarrow T=2 \pi \sqrt{\frac{d a}{g}}$

Simultaneously at $t=0$, a small pebble is projected with speed $v$ from point $P$ at an angle of $45^{\circ}$ as shown in the figure. Point $P$ is at a horizontal distance of $10 \ cm$ from $O$. If the pebble hits the block at $t=1 \ s$, the value of $v$ is (take $g =10 \ m / s ^2$ )
