The vertical distance can be found by subtracting parabola from the given line.
Given line equation is y= x+20
Equation of parabola is y= x^2
Subtract parabola from line equation
so y =

y =

Now we take derivative to find out the maximum that is the vertex
y' = -2x + 1
Now we set derivative =0 and solve for x
0 = -2x+1
2x = 1

Now we plug in x values in


Take common denominator

So our maximum vertical distance is
at
