"The people are in the restaurant."
Translation:Die Menschen sind im Restaurant.
This is a tricky one. in die = in the
the restaurant = das Restaurant
When saying "in" in terms of location (where?) we use Dativ which would turn therefore into IN DEM restaurant (you were right). BUT we put those two words together just to simplify so it turns into IM D
in dem = im