Hello!
The number of 20-g ice cubes required to absorb 47 kJ from a glass of water upon melting is 7 icecubes
Why?
We are going to clear from the equation of the released heat, the mass of ice (m). The specific latent heat of fusion of ice is 336 kJ/kg:

So, 7 ice cubes are required to absorb that amount of heat from the glass of water.
Have a nice day!