Answer:
Average speed in east direction
Step-by-step explanation:
We have given average speed of the entire trip = 5 km/hr
First the car 4 hours then travels 12 km in 4 hours
So total time of the trip = 4+4 = 8 hours
So total distance traveled in the trip
![d=speed* time = 5* 8=40km](https://img.qammunity.org/2020/formulas/physics/college/iu6nqpjrlfkb12mniavia0emp79kwc40mi.png)
As the car travel 12 km in 4 hours to the west
So distance traveled in 4 hour in east = 40 -12 = 28 km
Time in east direction = 4 hour
So average speed in east direction
![speed=(distance)/(time)=(28)/(4)=7km/hr](https://img.qammunity.org/2020/formulas/physics/college/a30ut7epmxavrykjz87kvrghh7ccoj78n4.png)