Potassium permanganate oxidation of sugars
Each of your molecules also contains at least one primary alcohol appendage.  Primary alcohols are readily oxidized by potassium permanganate to the corresponding carboxylic acid (see this link for more information).