The following steps are taken to test the given liquids:
Put a drop of provided liquid on the turmeric indicator. The solution that changes the color of the indicator to red, is sodium hydroxide, which is basic in nature.
Now, to make two mixtures, add a drop of sodium hydroxide on the other two liquids individually. The drop of each combination added to the turmeric indicator one after another.
The mixture that changes the indicator to red colour includes a neutral solution of sugar.
While the mixture that does not show any color change in the indicator includes hydrochloric acid that has been neutralized by the addition of sodium hydroxide,