They are both tetrasubstituted, but if you look at the 4-position of the galactose (the one on the right) it is not attached to a methyl group, but to the mannose.
This is acidic hydrolysis. The anomeric positions go from acetals to hemiacetals. Since the glycosidic linkage is 1,4 , hydrolysis means that the 4-position of the galactose will go from O-mannose to OH.