Speed upstream:
\[
4 - 2 = 2 \text{ km/hr}
\]
Let the distance be \( d \), so:
\[
\frac{d}{2} = 9 \Rightarrow d = 18 \text{ km}
\]
Speed downstream:
\[
4 + 2 = 6 \text{ km/hr}
\]
Time downstream:
\[
\frac{18}{6} = 3 \text{ hrs}
\]
Thus, the correct answer is 3 hrs.