In a pan fry the finely chopped garlic and onion in oil and butter, then add the peeled shrimp and the mashed and sliced mushroom, brown for 5/6 minutes; sprinkle with Cognac and allow to evaporate, then add the diced tomatoes, parsley and a little cooking water. of the pasta and cook for another couple of minutes. Drain the pasta al dente add to the sauce and mix everything with the cream and grated cheese; serve well hot.