Realized transform(Triangle t) method. Overwritten Triangle toString() method and tested them both in DrawPanel.