Counting unit squares to find area formula