A farmer is on his way to market. He's going to sell a wolf, a goat, and a cabbage. On the way, he comes to a river crossing. The river is too wide to ford, so he has to take a tiny boat across. The boat is so small that he can take at most one of the three items with him in the boat at a time. Left alone, the wolf would devour the goat, and the goat would devour the cabbage. How can the farmer safely transport all three items across the river?