Questions & Answers about Ich lege den Katalog auf den Tisch.
You determine gender from:
• the dictionary entry (it will say “der Katalog”)
• common noun endings (–og in German are typically masculine)
Once you know it’s masculine (der), you change it to den in the accusative singular.