You have been given an interface file (Polygon.java). You are to write two classes, a Rectangle class (Rectangle.java) and a Triangle class (Triangle.java), both of which implement the Polygon interface.