Finely chop the onion and grate the carrot