Let the swimmer's speed in still water be \( x \) km/hr.
The speed downstream (with the stream):
\[
x + 1.5
\]
The speed upstream (against the stream):
\[
x - 1.5
\]
Given that the distance covered downstream is twice that covered upstream in the same time:
\[
\frac{x + 1.5}{x - 1.5} = 2
\]
Cross multiplying:
\[
x + 1.5 = 2(x - 1.5)
\]
\[
x + 1.5 = 2x - 3
\]
\[
1.5 + 3 = 2x - x
\]
\[
4.5 = x
\]
Thus, the speed of the swimmer is \( 4 \frac{1}{2} \) km/hr.