the act, in its second part, also enabled the people of new mexico territory and of arizona territory to form a constitution and state government and be admitted into the union, requiring a referendum to determine if both territories should be admitted as a single state.