Zend certified PHP/Magento developer

Find lines that end with a particular letter

How to grep for lines that end with a letter a or d followed by xy
I know that using $ you can check for the ending but not sure how to combine this
and use or condition