A gaseous metallic chloride MClx consists of 20.22% of M by mass. The formula of…