Priceline.com Interview Question

How to extend two classed