1. find the value of k for which y= kx+1 is a tangent to the curve y^2 = 8x

2. the hypotenuse of a triangle measures 17cm. The shortest side is 7cm shorter than the middle side. Find the lengths of the sides.

really stuck. Have tried loads but my answers are wrong.