You can sometimes get a stuck disk to eject by powering up, then apply pressure to the edge of the stuck disk. Another CD works nicely for this. Don't try to insert the 2nd disk, just gently push it further in to the slot, if possible. If it works, the "stuck" disk should start spinning. Now, try the eject. I first try shutting power off, then power on while holding the left mouse button down. If you get a brief eject, but the eject is too weak, you may be able to grab the edge of the disk with a tool, and "urge" the disk out.
The 6GB (actually 8GB, but the concept is the same) issue does not exist on the slot-loading, only on the older tray-loading G3 iMacs.
Hopefully, you can get an external USB device with an OS X installer to boot. You will need the Open Firmware command that makes that happen.