Take the chicken across, then take the wolf, then take the chicken back across with you, take the grain to the side with the wolf on it, then finally go back and take the chicken across.
Alternatively you can switch the grain and wolf and it still works. Only if the chicken is first across.