In this step we're going to find the first and last node of the river.
For the Kirpich equation we later need the distance between these points
and their elevation difference.
1. Open the Processing Toolbox: from the main menu choose Processing | Toolbox.
2. click on the tool Vector Geometry | Extract specific vertices