Cut the compound at the C-O bond. You should notice that there is an ester linkage there. Therefore, you must end up with terminal -OH and -COOH groups.
Cut the compound at the C-O bond. You should notice that there is an ester linkage there. Therefore, you must end up with terminal -OH and -COOH groups.