Grand Temple pls explain

Can anyone please briefly explain me this problem https://hack.codingblocks.com/contests/c/452/975 i am unable to understand .

@vashish888 hey ashish In this problem
you are supposed to find the max area, and for having an area you must have a rectangle for that you will need 4 points and for given test case we found that 2,2), (2,4), (5,2), (5,4) these are the 4 points which will give us the maximum area. There is one thing you need to keep in mind while calculating the area i.e. the area will be calculated from the edge next to the left edge, the edge above the bottom edge, the topmost edge and the rightmost edge, therefore for the region (2,2) , (2,4) , (5,2) , (5,4) the actual area will be considered from (3,2), (3,4), (5,2), (5,4) respectively.

don’t you think that the area of modified coordinates will be 4 and 2 which is the output.
justify it.