20 g of substance X dissolves in 100mL of boiling solvent and 2g of X dissolves in 100 mL at 0 degrees celcius. Calculate the maximum yield of substance X that could be obtained if 10g of X were recrystallized from 50 mL of the solvent at the above conditions.