LoneSurvivor
Answer should be B.
We do not know which one is greater side AB or CD.
Now if AB is smaller then to divide it in a two square CD has to be 20 and if AB is greater then CD has to be 5.
So statement 1 is not sufficient.
Now to talk about statement 2 we know that summation of perimeters of two squares is 40 lets say the side is a so total perimeter will be 8a. So statement 2 is sufficient to determine the perimeter of the rectangle
We need to go by the figure here , and by the figure AB is clearly the longer side .
Now for sure AD can vary between > 0 and < 10
but from statement 1 the only way to divide a rectangle into
two equal squares is by bisecting the longer side.
This tells us that AD=5 and the statement is sufficient.
You can not assume it from figure that which one is greater and if it was not mentioned that ABCD is a rectangle we are not supposed to take it as rectangle just because it looks like so