Given,
The initial speed, u=20.00 m/s
The distance between the submerine and the target is d=2000.0m
The sound of impact is heard after T=101.4 s.
To find
The speed of sound in water.
Step-by-step explanation
Here the total time taken to reach the submarine is the sum of thetime taken by the torpedo to reach the target and the time taken for it to come back.
Let the speed be v.
Thus,

Conclusion
Speed of the sound in water is 1428.6 m/s