Translation:The magazines come from two cities.
Zeitschriften = magazines Zeitungen = newspapers
(but I think too many people ask why their sentences were not accepted, so DL accepts both now)
The newspapers are from two cities is just as good and more natural in my opinion
die Städte in the nominative and accusative, den Städten in the dative.