I have to draw the figure below using a class BaseGeometry with the Attributes x,y and filling and stroke,
also create a Subclass Polygon which extends the Class BaseGeometry and a interface Drawable with the Method Draw, that displays the figures. So far I have the "main points of the code", but i can't really figure out the details,