"I eat in the restaurant."
Translation:Ich esse im Restaurant.
The solution I put for this was: "Ich esse im das Restaurant". The solutions given are either "Ich esses in dem Restaurant" or "Ich esse im Restaurant". Does anyone know the reasoning behind this? I don't think I have learned the words "in" or "dem" yet so I don't know how to properly use them.