Classify the following carbohydrates based on stereoisomer, length and functional group.
Fig: 1
Fig: 2