i need explanation for how to do qn(d) where it ask to find the shortest distance. the answer is 6.656cm by the way but i need the steps and workings ​

i need explanation for how to do qnd where it ask to find the shortest distance the answer is 6656cm by the way but i need the steps and workings class=