A colourless gas 'x' forms a brown coloured gas 'y' when mixed with air. x and y could be :
Nitric oxide is a colorless, flammable gas with a slight odor. Nitrogen dioxide is a deep red-orange gas that is poisonous but not flammable. When NO comes in contact with air it oxidizes and following reaction takes place.
2NO+O2⟶2NO2
Hence, 'x' is NO and 'y' is NO2.