4 garlic cloves, very thinly sliced
400g tin chopped tomatoes
¼–½ tsp dried chilli flakes, to taste
100g/3½oz dried pasta, such as penne
salt and ground black pepper
3 tbsp oil, ideally olive oil
25g/1oz cheddar, finely grated, to serve