The square of the diagonal of a square having one unit sides?

A square having one unit side, means a side of length 1. There for Pythagorean tells us a^2+b^2=c^2; so 1^2+1^2=c^2. Therefore c=sqrt(2) but the question asks for the square of the diagonal: (sqrt(2))^2=2. Answer: 2