The question wil be solved using principle of similar triangle
Considering Triangle ABC and Triangle CDB
/CB/= x = 30m
Then /AB/ = Y Can be obtained from triangle ABC
/AB/ = Y = 40M
Then P can then be obatined from triangle CDB
Again applying pythaoras theorem
Question A :How far is the spot on the Beach from the Parking lot?
Answer: The distance is P in the triangle CDB = 24m
Question B: How far will he have to walk from parking lot to refreshment stand
Answer: The distance Y in triangle ABC represents this value, which is equal to 40m