100 g of a mixture of two nitrates - A(NO3)2 and B(NO3)2 - was roasted, producing metal oxides and mixture of two gases - NO2 and O2. After passing the mixture through NaOH solution gas volume decreased 6 times, leaving 3620 mL of the gas (measured at STP, 0°C, 1 atm).
Determine A and B, knowing that one is an alkaline earth metal, and the other a transition metal.