Complex sentence: The Parliament is elected by the people and represents the country, and the Prime Minister is elected by the Parliament.
Split into simpler sentences: The Parliament is elected by the people and represents the country. The Prime Minister is elected by the Parliament.