count the number of triangles,calculate the area then multiply by the no of triangles and again back to rectangle