Define convex and concave polygons.
Convex Polygon: It is a polygon in which if you take any two positions of polygon then all the points on the line segment joining these two points fall within the polygon itself.
Concave Polygon: It is a polygon in which if you take any two positions of polygon then all the points on the line segment joining these two points does not fall entirely within the polygon.