Element X forms a chloride with the formula XCl2, which is a solid with high melting point. X would most likely be:
Mg
Deducing the valency of the element from the formula, as Mg has valency +2 .Thus two chloride ions can get attach to it and form MgCl2.