Two trains A and B start from stations Xand Y towards each other. B leaves station Y half an hour after train A leaves station X. Two hours after train A has started, the distance bewtween trains A and B is 19/30th of the distance between stations X and Y. How much time would it take each train (A and B) to cover the distance X to Y, if train A reaches half an hour later to its destination as compared to B?