Complex sentence: This force was reorganised into two corps to hold the Gaza to Beersheba line: the XX Corps (16th and 54th Infantry Divisions, 178th Infantry Regiment, 3rd Cavalry Division), and the XXII Corps (3rd, 7th, 53rd Infantry Divisions).
Split into simpler sentences: This force was reorganised into two corps to hold the Gaza to Beersheba line. They were the XX Corps (16th and 54th Infantry Divisions), with the 178th Infantry Regiment and the 3rd Cavalry Division attached, and the XXII Corps (3rd, 7th, and 53rd Infantry Divisions).