Let the distance between A and B be z km.Again, let speed of boat in still water be x kmph and that of stream be y kmph. ∴ Rate downstream = (x + y) kmph Rate upstream = (x-y) kmph From statement I, z+yz​ = 2 ... (i) From statement II x−yz​ ... (ii)