A study of the cognitive development of length and area measurement