From the given figure
The rectangle has a width of 3 and its length is the hypotenuse of a right triangle with legs 5 and 7
Then we will find at first the hypotenuse of the triangle using the Pythagoras Theorem
Now, to find the dotted line we will do the same with the length and the width of the rectangle
Round it to the nearest tenth
The length of the dotted line is 9.1