Complex sentence: They were to serve as recruiting bases for their front-line divisions and could also perform secondary combat operations and if necessary they could be expanded into full divisions with a total of 24 territorial force regiments.
Split into simpler sentences: They were to serve as recruiting bases for their front divisions and could also perform secondary combat operations. If necessary they could be expanded into full divisions with a total of 24 territorial force regiments.