Two cars A and B are traveling at the speed of 30 kph and 40 kph respectively on two different roads making an angle of 30 deg with each other.

Two cars A and B are traveling at the speed of 30 kph and 40 kph respectively on two different roads making an angle of 30° with each other. Car A is located 200 m from the intersection of the roads at the instant car B is 400 m from the intersection. After a lapse of 5 minutes, how far is car A from car B in meters.