Concept:
When motion occurs in perpendicular directions, displacement is found using Pythagoras theorem:
\[
\text{Displacement} = \sqrt{x^2 + y^2}
\]
Step 1: Calculate first displacement.
\[
\text{Speed} = 20\ \text{km h}^{-1}, \quad \text{Time} = 1\ \text{hour}
\]
\[
\text{Distance}_1 = 20 \times 1 = 20\ \text{km}
\]
Step 2: Calculate second displacement.
\[
\text{Time} = 30\ \text{minutes} = \frac{1}{2}\ \text{hour}
\]
\[
\text{Distance}_2 = 20 \times \frac{1}{2} = 10\ \text{km}
\]
Step 3: Apply Pythagoras theorem.
\[
\text{Displacement} = \sqrt{20^2 + 10^2}
\]
\[
= \sqrt{400 + 100} = \sqrt{500} = 10\sqrt{5}\ \text{km}
\]