Area of six faces of the box`=6l^2=6xx(0.30)^2=0.54m^2`
and `L=5.0cm=0.05cm`
time, `t=6hr=6xx3600s`
`T_1-T_2=45-0=45^@C`
Total heat entering into the box in 6 hr
`Q=(KA(T_1-T_2))/(L)`
`=(0.01xx0.54xx45xx6xx3600)/(0.05)=104976J`
If m be the amount of ice melted then
`Q=mL`
or `m=(Q)/(L)=(104976)/(335xx10^3)=-.313kg`
Mass of the ice left after `6h=(4-0.313)kg`
`=3.687kg`