A metal M and its compound can give the observable changes as shown in the above sequence of reactions. The metal M is