Compounds are words made by combining multiple words.

Gajaanaam + Vanam ⇒ Gajavanam

Elephant + Forest ⇒ The Forest of Elephants

dvandva

any words that can be combined with ‘cha’ can be combined into a dvandva

raamah sita cha → raamasiite

raamah sita lakshmanah cha → raamasiitaalakshamanah

tatpurusha

second word is the main idea, the first word modifies it

raamashya maata (rama’s mother) → raamamaata

raamashya putrah (rama’s son) → raamaputrah

raamashya patnii (rama’s wife) → raamapatnii