Measure 24
The intention is that the left hand B is held through the entirety of both measures. However, the problematic C in the left hand can be taken by the right hand instead.
Notice here in the Kàan arrangement, from which the OP arrangement seems to be adapted, the B is tied across both measures 24 and 25, and the C is notated in the upper staff.
"Vlatava" Arr. Kàan, mm. 22-27

Measure 25
There are at least two options for measure 25:
- For the left-hand sixteenth notes, use the fingering
1-2-1-2-3-2 1-2-1-2-1-2
.
- The right hand could pick up some of the left hand notes. For example, the third and/or fourth left-hand sixteenths (G and F#) could be taken by the right-hand thumb. Similarly and of the seventh through eleventh left-hand sixteenths could be played with the right-hand thumb, depending on the fingering chosen for the right hand.
Note again the arrangement of notes and the fingering given in the example above.