That's an easy one.
By using the map count how many meters the target travels for 30 seconds.
Then divide it by 1000 multiply by 120 divide again by 1.85 and you got speed in knots. For practise test it at yor own sub go at 5 kts steady speed and try if you can get a close solution to your speed.