Deliver bread to both houses, then bring the cart back to the bakery.
One loaded cart visits A, then B, then returns to the bakery.