Complex sentence: Shortly after Buchanan's birth the family moved to a farm near Mercersburg, Pennsylvania, and in 1794 the family moved to Mercersburg itself.
Split into simpler sentences: Shortly after Buchanan's birth the family moved to a farm near Mercersburg, Pennsylvania. In 1794, the family moved to Mercersburg itself.