We can't answer this question as the length and breadth of the rectangle was not mentioned. Rectangles of different length and breadth can be formed out of the square and without the specifications about the length and breadth solution is not possible.
Total no of squares n(n+1)(2n+1)/6 14(15)(29)/6 1015....... Total no of rectangles n(n+1)/2^2 11025 Total no of rectangles which are not squares- 11025-1015 10010