Since you need both coordinates of the point to write an equation of the tangent line,someoneis going to have to supply the y-value. That they do it for you is just a plus!

(But you're right - you could have found that on your own, and m = dy/dx doesn't depend on y)