try using the hint to replace with
Then you will have a quadratic in x.
If you differentiate the quadratic with respect to x,
you can equate that to zero to discover which x causes the tangent
to the curve to be parallel to the x-axis.
Solve for the derivative=0
When you have found that x, use it to find the vertical co-ordinate corresponding to it on the line segment..