Fast Enterprises Interview Question

Logic question about cabbage, fox and donkey