Hi, thank you for contacting JustAnswer.com. My name is Russell. I will do my best to provide the right answer to your question.
The first thing to try, when urging a CD drive to open its tray, is to look for a pinhole near or just below or (rarely) just above the tray. Straighten the end of a paperclip, insert it into that hold and push the switch that is under that pinhole, and the tray should unlock and eject a bit, enough to pull it out the rest of the way.
If your CD drive has no pinhole, then there is still a way to trigger the unlocking and the extension of the tray (even without power). You would have to get the cover off of the drive in question, though... and if you can see the outer cover of the CD drive unit, then you should be able to see the maker label on it, identify what drive it is, and I should be able to tell you where to trigger its unlocking mechanism.
Let me know how it goes, and/or what you have to deal with, and I will advise you further as appropriate.