The osmotic pressure will be same for both solutions. Both solutions are isotonic.
The osmotic pressure π=iCRT, where i is the vant Hoff factor and C is the molar concentration.
For solution X, i=1 as glucose is non electrolyte and does not dissociate and C=3mol1L=3M
Hence, the osmotic pressure
π=iCRT=1×3×RT=3RT
For solution Y, i=2 as NaCl is strong electrolyte and dissociates into ions and C=1.5mol1L=1.5M
Hence, the osmotic pressure
π=iCRT=2×1.5×RT=3RT