The first option is
This is a square.
Distance between A and B = absolute value of distance between x -coordinates of A and B
Coordinates of A and B are (3,7) and (9,7) respectively
= |(9-3)| = 6 units
Perimeter of square ABCD = 4
× side
= 4
×6 = 24 units
The next option is
This is a square.
Distance between A and B is the absolute value of the difference of x- coordinates
Coordinates of A and B are (3,6) and (6,6) respectively.
Side of square ABCD = |6 - 3| = 3 units
Perimeter = 4
×side = 4
× 3 = 12 units
The next option is
This is a rectangle
Length of the rectangle = distance between A and B
The coordinates of A and B are (1,7) and (8,7) respectively.
Length = difference of x-coordinates of A and B
= | 8-1| = 7 units
Width of the rectangle = Distance between B and C.
= |7-3| = 4 units
Hence, perimeter = 2(length+width) = 2(7+4) = 22 units