We are given with two compounds 1)XSO3. 2)XO. we all know that upon reaction, the charges of each ionic element are exchanged and reflected on the subscripts. IN this case, SO3 and O has charges of -2, so X must have a charge of +2 to cancel out. The element is a metal which belongs to Group 2A.