So if I want to say "These and those buildings", it would be "Ezek és azok az épületek", right?
Exactly!
sorry, what am i missing how re they the same thing?
I think you missed the definite article.
Helyesebb lenne: Ezek is azok is épületek.