Two conservation statements. Rolling begins immediately, so no friction impulse is needed at the contact point; linear momentum is then conserved, and so is angular momentum about the centre.
Linear momentum.
mv=(M+m)V⟹V=M+mmv.
Angular momentum about the sphere's centre. The bullet travels horizontally at height h, so its lever arm about the centre (which is at height R) is h−R:
mv(h−R)=Icmω.
After the impact the bullet is embedded on the surface, a distance R from the centre, so
Icm=52MR2+mR2.
Impose rolling, ω=V/R:
mv(h−R)=(52M+m)R2⋅R1⋅M+mmv⟹h−R=M+m(52M+m)R.
Solve for h/R.
Rh=1+M+m52M+m=M+mM+m+52M+m=M+m57M+2m=5(m+M)10m+7M.
(C)