These shots are very common. The cue ball comes out of one corner to contact the middle of the opposite long rail. It then travels into the corner on the same side at the other end of the table. This creates a path that looks like the cue ball is going up and down a hill.
For each shot, there are two table layouts. The first is the ball positions on the table. The second is how the pro player made the point.
+++++++++++++
There are two ways you can use these examples.
First - as a mental exercise. Study the ball layout and the ball paths to determine how the shot was played.
Second - as a table exercise. Set the balls up in the positions. Try to duplicate the shot. It may take only a few attempts, or a lot before you learn how to consistently score the point. You will do a lot of experimentation with different speeds and spins.
The result will be a better understanding on how to play similar shots during your competitions. Enjoy the learning process and good luck!!