Start by preheating your oven 400 °F.
In an oven-safe baking dish, combine the cherry tomatoes and onion. Drizzle olive oil over them, then season with salt and pepper. Mix everything together until evenly coated.
Create a space in the center of the baking dish and place the block of feta cheese there. Turn the feta a few times to ensure it's coated in the olive oil and seasonings.
Bake in the preheated oven for 35 minutes, or until the cherry tomatoes are bursting and the feta cheese has melted.
While the feta and tomatoes bake, bring a pot of salted water to a boil and cook the pasta according to the package directions until al dente. Drain the pasta, making sure to save ½ cup of the cooking water for later use.
As soon as the tomatoes and feta are out of the oven, add the minced garlic and toss everything together to create a creamy sauce.
Introduce the shrimp or prawns to the dish and return it to the oven for an additional 5-7 minutes, or until the shrimp turn pink and are fully cooked.
Finally, remove the baking dish from the oven, mix in the cooked pasta, reserved pasta water, and some fresh basil. Toss everything together, then garnish with extra basil before serving warm.