Kamapilya (also known as Kampilya) was the capital city of the ancient kingdom of Panchala. Panchala was the kingdom of Draupadi's father, King Drupada. The other options are capitals of different kingdoms: Dwaraka was Krishna's city, Matsya was the kingdom where the Pandavas spent their final year in exile, and Magadha was Jarasandha's kingdom.