Formula used:ycm=m1y1+m2y2m1+m2
To find relation between h and R, we are given that centre of mass of system lies at junction of cone and hemisphere, so we will take origin as well at centre of mass
ycm=0,y1=h4,y2=3R8
Since both bodies have same mass density
∴m1=ρ×13πR2h,m2=ρ×23πR3
Using formula ∴ycm=m1y1+m2y2m1+m2
0=ρ×13πR2h×h4−ρ23πR3×3R8ρ×13πR2h+ρ×23πR2
h212−R24=0
h=√3R
Comparing with h=√xR,we get x=3
Final Answer:3