Complex sentence: She was four years old when she started swimming, and by the time she was seven years old she was competing in swimming carnivals.
Split into simpler sentences: She was four (4) years old when she started swimming. By the time she was seven years old she was competing in swimming carnivals.