For this case, we can model the problem as a triangle with a right angle.
Where,
x, y: lengths of the sides of the triangle
d: hypotenuse of the triangle
We then have the following relationship:

Clearing d we have:
Answer:
A functions that would best model the situation above is:
D square root