Complex sentence: Twenty-four laps later Johnson passed Earnhardt for second place, and on lap 144 he passed Gordon for the lead.
Split into simpler sentences: Twenty-four laps later, Johnson passed Earnhardt to claim second position. On lap 144, Johnson passed Gordon for the lead.