Friction always opposes the "relative" motion between two bodies. when it comes to the cart, its motion relative to the truck is towards west. hence the friction acts opposite(towards east) and it doesn't slip as long as the force(due to acceleration) doesn't exceed the static friction. This is...