The same quantity of electricity always delivers the same number of moles of electrons. Convert each substance to moles of electrons using its half-reaction.
Using 2 electrons per (that is per O atom) gives 54 g; a straight 1 : 1 mole ratio gives 27 g.
5600 mL of at STP is 8 g, which is exactly 1 equivalent of oxygen. One equivalent of silver is 108 g.