First of all in Polish there are no articles before nouns. In the example sentences 'to' could be translate something like 'once the wardrobe, then the table'.
Gender of the noun is pointed out by demonstrative pronouns - e.g. 'tę szafę', 'ten stół'.
Regards :)