Answer:
Option A
Explanation:
The number of squares will be formed on;y when there are equal number of horizontal and vertical lines.ie, 5 horizontal and 5 vertical lines.The maximum number of squares that can be formed using 10 straight lines will be
12+22+32+42
=1+4+9+16=30