Fit Square TRISQ

Problem link: https://www.codechef.com/problems/TRISQ

Hey, considering x base and when I try to draw a triangle for x, the number of squares fit is always more than the expected output.
For example: base = 9
The total number of 2x2 squares fit is 10 but the answer is 6, how?