To find the average speed of the car over the entire journey, we need to consider both halves of the journey it makes. Let's break down the problem step by step.
T_1 = \frac{\frac{D}{2}}{40} = \frac{D}{80}
T_2 = \frac{\frac{D}{2}}{60} = \frac{D}{120}
T_{\text{total}} = T_1 + T_2 = \frac{D}{80} + \frac{D}{120}
To add these fractions, find a common denominator, which is 240:
T_{\text{total}} = \frac{3D}{240} + \frac{2D}{240} = \frac{5D}{240}
\text{Average Speed} = \frac{D}{T_{\text{total}}} = \frac{D}{\frac{5D}{240}} = \frac{240}{5} = 48 \text{ km/h}
Therefore, the average speed of the car over the entire journey is 48 km/h, which matches the correct option.