"First Bar" common triplet figure. "Second Bar" notice the last eighth note has been moved to the beginning of the bar thus displacing the eighth note triplets.
On a short tour in Germany with Sally Oldfield I came down to breakfast in the hotel where we were staying to find Billy Cobham sitting on the next table with one of his band. Showed it to them and they both found it interesting . Tap it out first then see and listen to the solution.