Answer:
Average speed of car will be 48 km/hr
Explanation:
Let the total distance is 2d
It is given that first half of the distance car travels with a speed of 40 km/hr
So time taken to cover half of the distance 
Second half of the distance is covered with a 60 km/hr
So time taken to cover second half of the distance 
So total time to cover 2d distance 
Average speed is the ratio of total distance to total time
So average speed 
So average speed of car will be 48 km/hr