The angular momentum is defined as,
![L=I\omega](https://img.qammunity.org/2020/formulas/physics/college/p3mzdr50d87077dazhan8nsycc03bmphm7.png)
Acording to this text we know for conservation of angular momentum that
![L_i=L_f](https://img.qammunity.org/2020/formulas/physics/college/5bkqbxbg3y2ed7vqzf6ii7avf1ffiwi4sx.png)
Where
is initial momentum
is the final momentum
How there is a difference between the stick mass and the bug mass, we define that
Mass of the bug= m
Mass of the stick=10m
At the point 0 we have that,
![L_i=mvl](https://img.qammunity.org/2020/formulas/physics/college/t306xozciri1f8ded804hjpmgkjt59mnh6.png)
Where l is the lenght of the stick which is also the perpendicular distance of the bug's velocity
vector from the point of reference (O), and ve is the velocity
At the end with the collition we have
![L_f=(I_b+I_s)\omega](https://img.qammunity.org/2020/formulas/physics/college/gpdgqngoox0e8mb4qou7bj51zkv0kocqsd.png)
Substituting
![L_f=(ml^2+(10ml^2)/(3))\omega](https://img.qammunity.org/2020/formulas/physics/college/gduxoq1i9ba9ztksuwzzqsz5knflgl0fe0.png)
![L_f=(13)/(10)ml^2w](https://img.qammunity.org/2020/formulas/physics/college/u7xa4dk7i107jcx7bfmymj08xh21rxdw1v.png)
![m(0.65)l=(13)/(10)ml^2 \omega](https://img.qammunity.org/2020/formulas/physics/college/ll3fosxs4b92dqowqgh4fa1eaj9p9d92ns.png)
![\omega=(1)/(2l)](https://img.qammunity.org/2020/formulas/physics/college/iwgnvejsba0f2xj5nerztfk8hars59mvf0.png)
Applying conservative energy equation we have
![(1)/(2)(I_b+I_s)\omega^2=mgh+10mgh'](https://img.qammunity.org/2020/formulas/physics/college/1wsooiccj78k4ol9bzop0db3kg2glta7u0.png)
![(1)/(2)(ml^2+(10ml^2)/(3))((1)/(2l))^2=mg(l-lcos\theta)+(10)/(2)mg(l-lcos\theta)](https://img.qammunity.org/2020/formulas/physics/college/fhput6w5jb3q0rjm8bvtg52szbae1nr7np.png)
Replacing the values and solving
![l=(13)/(0.54g)](https://img.qammunity.org/2020/formulas/physics/college/wh9fxj9bos2b3v3expnbfdrvxbyyvpl0mj.png)
Substituting
l=\frac{13}{0.54(9.8)}
![l=2.45cm](https://img.qammunity.org/2020/formulas/physics/college/yq3r44q0sj1ca63lhbsxroe7zmnhj1aihb.png)