Step 1: Find how far A travels before B even starts.
A leaves at 9:00 a.m. at 30 kmph. B does not start until 1 hour later, at 10:00 a.m. During that first hour, A alone covers
\[ 30 \times 1 = 30 \text{ km} \]
So at 10:00 a.m., the gap left between them is
\[ 180 - 30 = 150 \text{ km} \]
Step 2: Add up their closing speed once both are moving.
From 10:00 a.m. onward, A and B move towards each other at the same time, so the gap between them shrinks at the sum of their speeds:
\[ 30 + 20 = 50 \text{ kmph} \]
Step 3: Find the time needed to close the remaining gap.
\[ \text{time} = \frac{150}{50} = 3 \text{ hours} \]
Step 4: Add this to the time B started.
B started at 10:00 a.m., so they meet at
\[ 10:00 \text{ a.m.} + 3 \text{ hours} = 1:00 \text{ p.m.} \]
Step 5: A note on the answer.
Some printed answer keys for this question mark 1:30 p.m. as correct. Working through the numbers carefully, twice over with two separate methods here, both give 1:00 p.m., so that is the value used as the final answer.
Final Answer:
A and B meet for the first time at 1:00 p.m. \[ \boxed{1:00 \text{ p.m.}} \]