The class CPolygon would contain members that are common for both types of polygon. In our case: width and
height. And CRectangle and CTriangle would be its derived classes, with specific features that are different from
one type of polygon to the other.