Answer:
![v_(avg) = 40 km/h](https://img.qammunity.org/2020/formulas/physics/high-school/ufq4k5i6s2xl1nlc057vsfcb1c914jmgqm.png)
Step-by-step explanation:
Time taken by the car to move first 40 km distance
![t_1 = (d)/(v)](https://img.qammunity.org/2020/formulas/physics/high-school/etn4c10cxjxxepiya37v4ywtvks896c7d3.png)
here we have
![t_1 = (40)/(30)](https://img.qammunity.org/2020/formulas/physics/high-school/blnhq1kq3zfv3dt08ejc7x2lk09nwzbxqx.png)
similarly the time taken by car to move next 40 km is given as
![t_2 = (40)/(60)](https://img.qammunity.org/2020/formulas/physics/high-school/q0wiw91mtm2x2qthjp8q53jd4zyumg49ik.png)
so total time of the motion is given as
![t = t_1 + t_2](https://img.qammunity.org/2020/formulas/physics/high-school/imbaonq0vzinwgvweqqp7di927hfkruo7a.png)
![t = (40)/(30) + (40)/(60)](https://img.qammunity.org/2020/formulas/physics/high-school/2xvmh7sljx6y03un4sx34szouddp8pfcbv.png)
![t = 2 hours](https://img.qammunity.org/2020/formulas/physics/high-school/4j7xtm8efuaeq36mux8p22fvikgxmo2jw4.png)
total distance moved by the automobile
![d = 40 + 40 = 80 km](https://img.qammunity.org/2020/formulas/physics/high-school/41rndnebib2pfyza3ev9q7zu2gjcln13im.png)
so the average speed is given as
![v_(avg) = (distance)/(time)](https://img.qammunity.org/2020/formulas/physics/middle-school/4iizoc8mir4igzhejiwk4fnksx2stjhkwk.png)
![v_(avg) = (80 km)/(2 hr)](https://img.qammunity.org/2020/formulas/physics/high-school/e0zvrw09z2w8z3g08iwqjnr31hfdwbu1tz.png)
![v_(avg) = 40 km/h](https://img.qammunity.org/2020/formulas/physics/high-school/ufq4k5i6s2xl1nlc057vsfcb1c914jmgqm.png)