A flask contains a mixture of two compounds AB and XY. Both of these decompose on heating by first order reactions. If the half-life of AB is 30 min and that of XY is 10 min, how long will it take for the concentration of AB to be four times that of XY? Assume the initial concentration of both AB and XY to be the same.