- changes getArea to getPerimter for triangles