Melt the butter in a small frying pan, add the onion and cook until it is soft, add the crushed garlic, and the grated carrot. (This can be done in the microwave for about 2 minutes on high at 800 watt in a bowl covered with cling and pierced to prevent burning the onions)