Translation:Jestem w małym mieście.
why not miastem?
well :jestem małym miastem" means "I am a small town/city"
after "w" you can use only locative or accusative. ( no motion or motion, a bit like German Dativ and Akkusativ ) and of course "jestem" is no motion so always locative