Cut the onion into cubes, chop the garlic, grate the carrots on a coarse grater. In a saucepan with a thick bottom, heat the vegetable oil, first fry the onion, 3 minutes, then add the carrots, cook for another 5 minutes, then garlic, cook for another 2-3 minutes.