So we are given 4 points that define a polygon and we need to find its perimeter.
Those 4 points define 4 sides. The sum of their lengths gives us the perimeter we are looking for. Those lengths are given by the distances between their extremes. For example, the length of side AD is equal to the distance between A and D. For two random points (a,b) and (c,d) the distance between them is equal to:
So let's find the length of each of the polygon's four sides. For AD we have:
So its length is 3 units.
For AB we get:
Then its length is 6 units.
For BC:
So its length is 3 units.
And for CD we get:
Then the perimeter is equal to the sum of these four lengths:
Then the answer is 18.