Distance of a bird from a fish, as observed by a fish is x. and distance of the fish from the bird as observed by the bird is y. Then refractive index of water is
Let H = Actual height of bird above the surface of water and
h = Actual depth of fish below the surface of water.