Complex sentence: In 1824, at the age of 18, Epps went to Edinburgh to study medicine, and in 1827 graduated at the age of 21.
Split into simpler sentences: In 1824, at the age of 18 he moved to Edinburgh to study medicine. In 1827, Epps graduated at the age of 21.