Complex sentence: The episode was written and directed by series co-creator Trey Parker and was rated TV-MA in the United States and PG in the UK.
Split into simpler sentences: The episode was written by series co-creator Trey Parker. It was directed by Parker, and was rated TV-MA in the US and PG in the UK.