Attention, there are 5 chords and not 4 measures.
So, between the first and the second there are no problems, I mean regarding how the voices are arranged, because E and G remain unchanged while C descends to B and the C in the bass rises to E; a contrary motion occurs between the bass and tenor, an octave-fifth between C-C and B-E, but between inner parts (to give you an example, not between "extreme" parts, as could be between the bass and soprano). The problem arises between the third and the fourth chord, at least if you intend to work strictly within the tonal framework; this succession of chords produces two consecutive fifths in direct motion in an ascending direction:
the "first" between the bass and alto (F-C / G-D), the second directly within the chord played by the right hand (A-E / B-F), so you find yourself with a double error in voice leading, an error which you can remedy by keeping the F in the bass steady instead of rising to G and arranging the third chord not with B-D-F, but for example with B-D-G; you would thus have a dominant seventh chord (the dominant in this case is G, the fifth degree of C major) with the seventh (F) tied. When possible, it is always advisable to keep common notes tied between the preceding and following chords, but even if it wouldn't be necessary to prepare the dominant seventh (by holding it tied from the previous chord) because it is of the first species, built on the fifth degree of the major scale, in this case you would be dealing with a dominant seventh in third inversion, meaning it is not built starting directly from G in the bass (I mean G in the bass, because harmonically you start in this case, in C major, from G to build the seventh, but the arrangement of the notes is not "regular"; in practice, instead of starting from the bass with G-B-D-F, you have F-B-D-G, and G is the root of this chord), so the preparation would be perfect since the seventh would not derive from leaps.
At the beginning of the second measure, descend with the F to E and resolve the seventh, while in the upper staff you can have C-E-G, with the G remaining tied from the previous chord and B-D moving in contrary motion, one rising, the other descending to C, thus doubling the root of the chord, namely C.
The succession in this case is: 2_4 / 6_3 or 6 (even if the G of the dominant seventh chord is actually at a real distance of a major 9th; the "descriptive" distance between F and G is logically a major 2nd; that 4 instead specifies the distance between F and B, the third of the G chord you are in, B which is also the leading tone of this scale and must rise to C.
It should also be noted that by using "tight" chords (like the first, third, fourth, and fifth), i.e., those that remain within a range below an octave, you have more difficulty moving the individual voices; it is better to use medium-wide and wide chords, respectively at the limit of the octave and above the octave in terms of the range between the notes that constitute them. For example, at the beginning, instead of starting with the classic C-E-G, you could start with E-G-C; that perfect 4th distance between the alto and soprano could help you better manage the subsequent harmonic development.
You must obviously follow what is your own musical taste, but if you want to respect the rules of tonal harmony at the same time, you must take into account many aspects related to the movement of individual voices and the whole as it is being formed.
This is just one example, but there could be multiple solutions.
Since I haven't studied for years, I hope I have remembered correctly and haven't written anything inaccurate.