horizontal range and maximum height in two successive paths. Find a