(i) Since, ABCD has 4 sides and it has 1 diagonal.
ABCDE has 5 sides and its having 2 diagonal
ABCDEF is having 6 sides and it is having 3 diagonal
The pattern will be
Sides
4
5
6
Diagonal
1
2
3
Therefore, the relation is (n-3) where n is the sides
(ii) Since, 1 square path = 4 sides
2 square path = 7 sides
3 square path = 10 sides The pattern will be 3n+1 where n is a square path.