A starts walking from a place at a uniform speed of 2 km/h in a particular direction. After half an hour, B starts from the same place and walks in the same direction as A at a uniform speed and overtakes A after 1 hour 48 minutes. Calculate the speed of B.