Part 1: The sequence is UUDDDUD, where "D" means click Down and to the right, and "U" means click Up and to the right.
Part 2: The sequence is DDUDDUU, where "D" means click Down and to the right, and "U" means click Up and to the right.
You need a Route Tracer that you can get from solving the Underground River part of the River. Use it and the puzzle will be easy.