Preheat oven to 425 degree Fahrenheit.
Layer the spaghetti (or any pasta you are using) in a single layer in the baking pan (you may grease the pan before & add a single layer of extra sauce at the bottom of the pan before adding the noodles, if you wish).
Add the water, marinara sauce and enough salt, stir everything well with the spaghetti.
Also add the garlic powder and olive oil, stir again to mix the contents well.
Cover with aluminium foil and bake for 30 minutes.
After 30 minutes of baking, remove the foil and add 2 cups of shredded cheese, put the pan back for baking without the foil covering for another few minutes until the cheese begins to melt (it took around 10 minutes for me).
Once the cheese starts to melt, gently stir the contents so the melted cheese will blend with the spaghetti.
Top the spaghetti with the remaining cheese (you may add little more cheese if you wish) and bake for another 10 minutes or until the cheese is all melted and started to brown.
Transfer the baking pan from the hot oven, serve the delicious baked spaghetti for lunch or dinner!