Answer:
6 mph
Explanation:
Let the the total distance is D and the speed of Samantha's speed in still water is x ( in mph ),
Here, speed of stream = 4 mph,
Thus, the speed in upstream = (x - 4) mph,
Speed in downstream = (x + 4) mph,
We know that,

∴ Time taken in upstream =

And, time taken in downstream =

According to the question,


Equation (1) - 5 equation (2),
0 = x + 4 - 5x + 20
0 = -4x + 24
4x = 24
⇒ x = 6 mph.
Hence, Samantha swims with the speed 6 mph.