This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] Same osmotic pressure means the same molar concentration: $\frac{12/M}{1\text{ L}}=0.05\Rightarrow M=\frac{12}{0.05}=240$ g mol$^{-1}$ (molecular formula $C_8H_{16}O_8$). Answer: 240.