A metallic oxide which reacts with both HCl and NaOH to give salt and water…