Turn on the oven to 400f for 10 minutes. place Corn in a baking sheet and keep it in the lower rack of oven for roasting. Cover the garlic and potato completely with aluminium foil and keep it in the oven for baking.
Meantime you can chop all other vegetables.
Let it roast for 30 minutes. For every few minutes just shuffle the corn.