"dy=1/sqrt(2*x)" is wrong. I think you mean dx/dy=1/sqrt(2*x)
You have to find the points where the tangents touch the function yourself. Name these points, find equations which relate the slope of the tangent (at this point) to the condition that the tangent has to go through your point.
It should look similar to this: