Please follow these steps to get the cd out of the imac.
1- Have someone carry the imac and as if it was laying on its screen but not touching the ground/floor.
2- Click the eject button.
(if step number 2 does not work do step number 3)
3- Have someone carry the imac as if it was layign on its back but again not touch the ground/floor, click eject.
There is not way 2 cd's can fit in side the slot, its most likely one cd that is being block and the force of gravity will be enough. It has worked for a friend of mine, good luck.