On heating, borax first swells up by losing water molecules. On further heating it changes to transparent liquid which solidifies to glass like material known as borax bead. In the following equation, supply the formulae of compounds. A and B respectively.
metaborates of many transition metals have characteristic colour ,so borax bead test is used to identify them .