A boat travels 28 km upstream in 7 hours. It travels 48 km downstream in 4 hours. Find the speed of the boat and the speed of the stream.

since distance = time * speed,

7(x-y) = 28
4(x+y) = 48