The villager must transport a fox, duck, and bag of seaweed across a river using a small boat that can only hold one item at a time. The fox cannot be left with the duck, and the duck cannot be left with the seaweed, or one will eat the other. The solution is to: 1) Take the duck across, 2) Return and bring the fox, leaving the duck on the other side, 3) Take the seaweed across, 4) Return and take the duck across again, completing the transport safely.