Amphoteric means it behaves as both acid and base. Na2O is basic oxide and ZnO will act as acidic oxide in reacting with this oxide. CO2 is acidic oxide and ZnO will act as basic oxide in reacting with this oxide. So, with Na2O, it acts as an acid and with CO2, it acts as a base.