sentence1: Founded by Alexander the Great on the Mediterranean coast in 322 b.c. , Alexandria was capital of Egypt during the Ptolemaic era.
sentence2: Alexandria, capital fo Egypt during the Ptolemaic era, was founded in 322 b.c. by Alexander the Great.