You have to determine the distance of the diagonals of the polygons.
Asuming each square of the grid corresponds to one unit, to determine said distances you have to count the squares.
For the second polygon the diagonals are HF= 6 and GE= 9
For the third polygon the diagonals are LJ=2 and KI= 3