Key idea. Take one side of a square whose corners are grid dots. Going from one corner to the next, we move p units across and q units up (or down). If neither is 0, the side is the hypotenuse of a right triangle with shorter sides p and q, so by Baudhāyana's Theorem
Area of the square=(side)2=p2+q2
If q=0 the side lies along a grid line and the area is p2, which is the same formula. Also, for any whole numbers p and q we can draw such a square: from a dot, go p across and q up; turn through a right angle and go q back and p up; and so on. All four corners land on dots.
(i)

(a) Yes. Take p=1, q=1: area =12+12=2 sq. units. Each side is the diagonal of a unit square (a tilted square).
(b) No. The area must be p2+q2. With p and q each 0 or 1, the largest area is 1+1=2; if either is 2 or more, the area is at least 4. So p2+q2 can never be 3, and no square of area 3 sq. units can be made.
(c) Yes. Take p=2, q=0: an upright 2×2 square, area =22=4 sq. units.
(d) Yes. Take p=1, q=2 (go 1 across and 2 up for each side, turning each time): area =12+22=5 sq. units.
(ii) The possible integer areas are exactly the numbers that can be written as a sum of two square numbers p2+q2 (one of them may be 02). These are
1, 2, 4, 5, 8, 9, 10, 13, 16, 17, 18, 20, 25, 26, 29, 32, 34, 36, 37, 40, 41, 45, 49, 50, …
For example, 8=22+22, 10=12+32, 13=22+32 and 25=52+02=32+42.
Numbers such as 3, 6, 7, 11, 12, 14, 15, 19, 21, 22, 23 and 24 can never be written as a sum of two squares, so no square with corners on the grid dots can have these areas.