Complex sentence: The semi-finals are played over two legs, with each team playing one leg at home, and the team that scores more goals on aggregate over the two legs advances to the final.
Split into simpler sentences: The semi-finals are played over two legs, with each team playing one leg at home. The team that scores most goals on aggregate over the two legs advances to the final.