In a gaseous mixture, if an alkane (CxH2x+2) and an alkene (CyH2y) are taken in 2:1 mole ratio, the average molecular weight of the mixture is observed to be 20. If the same alkane and alkene are taken in 1:2 mole ratio, the average molecular weight of the mixture is observed to be 24. Then, the value of x and y are respectively :