Let the distance from the beach to the parking lot = D
So we have [ by similar triangles ]
D / 18 = 32 / D cross-multiply
D^2 = 32 * 18
D^2 = 576 take the square root of both sides
D = 24 m
The distance from the parking lot to the refreshmemt stand is the hypotenuse of a right triangle with legs 24 and 32....so the distance = √[ 24^2 + 32^2] = √ [576 + 1024[ = √1600 = 40 m