A car takes 4 hours to travel from Bangalore to Chennai, whereas a flight takes only 30 minutes to travel from Bangalore to Chennai. If the distance from Bangalore to Chennai by road is 400 km and by air is 150 km, find the average speed of flight and the average speed of car respectively.