Let x=man's distance traveled, y=boat's distance traveled, and z=height distance
The formula for the distance from the man to the boat is p²=x²+y²+z².
The derivative of this is 2p dp = 2x dx + 2y dy + 2z dz and we want to know dp. Eight variables and 1 equation mean we need to nail down the other seven.
Find the distance at 1 second. p²=10²+20²+20² = 100+400+400 = 900, so p=30
dx=10, dy=20, and z=20 from the problem, and since 1 second has elapsed x=10 and y=20. This leaves dz, but the vertical distance he is from the boat is not changing, so dz=0
Plug in everything.
2(30) dp = 2(10)(10)+2(20)(20)+2(20)(0)
60 dp = 200+800+0
60 dp = 1000
dp = 50/3 ≈ 16.67 ft/sec²