Let the speed of boat in still water=x
Let the speed of stream=y
Upstream speed=speed of boat-speed of stream=x−y
Downstream speed=speed of boat+speed of stream=x+y
Given,
36x+y+24x−y=6............(1)
48x+y+40x−y=6............(2)
Mulply (1) by 5 ang (2) by 3 we get
180x+y+120x−y=30.........(3)
144x+y+120x−y=27.........(4)
Subtract above equations
36x+y=3
x+y=12.....(a)
Put (a) in (4) we get
14412+120x−y=27
12+120x−y=27
x−y=8.....(b)
Adding (a) and (b) we get
2x=20
x=10
Put x in (a) we get
10+y=12
y=2
Therefore,
Speed of boat in still water=10kmph
Speed of stream=2kmph