Solution: take the sheep across the river for the first time, leaving the wolf and cabbage;
The second time I crossed the river with cabbage, I left the wolf behind, but I brought the sheep back when I came back;
Take the wolf across the river for the third time, leaving the sheep;
Finally, take the sheep across the river.
A * * * must be shot four times to complete.