Let us sketch out the part of the image needed,
To solve for the shortest distance from A to B, we will apply the Pythagoras theorem which states,
Given data
Solving for a,
Substituting the values of b=8m and c=6m
Take the square root of both sides
Hence, the shortest distance from A to B is 10m.
The correct option is D.