Let ABCD be a square of side 2a. Find the coordinates of the vertices of this sqaure when
(i) A coincides with the origin and AB and AD are along OX and OY respectively.
(ii) The centre of the square is at the origin and coordinate axes are parallel to the sides AB and AD respectively.