Answer:
The graph is shown below.
Step-by-step explanation:
Take the distance above surface of water as positive and negative for below the surface.
Given:
Distance of dock from the surface of water, 
Distance of hook from the surface of water, 
The surface of water is the reference point and hence it has a value of 0.
Now, on a number line, the values to the left of 0 mark is negative and values to the right are positive.
Therefore, H will lie on the left of 0 mark and D will lie on the right as shown below.