C and D of a square as shown in the fig