Let speed of the boat in still water =x km/hr, and
Speed of the current =y km/hr
Downstream speed =(x+y) km/hr
Upstream speed =(x−y) km/hr
T=DS
24x+y+16x−y=6 .......(1)
36x+y+12x−y=6 .......(2)
Put 1x+y=u and 1x−y=v the above equation becomes,
24u+16v=6
Or, 12u+8v=3 ... (3)
36u+12v=6
Or, 6u+2v=1 ... (4)
Multiplying (4) by 4, we get,
24u+8v=4v … (5)
Subtracting (3) by (5), we get,
12u=1
⇒u=112
Putting the value of u in (4), we get, v=14
⇒1x+y=112 and 1x−y=14
⇒x+y=12 and x−y=4
Thus, speed of the boat upstream =4 km/hr
Speed of the boat downstream =12 km/hr