For the individual isomers:
E. Neither the amide group (CO-NH) NOR the alcohol group (-OH) will ionize INSOLUBLE IN BOTH
F. The amino group confers alkalinity (as in amino acids) so will react with HCl and form ions; the carboxylic group (-COOH - acidic) will react with NaOH (alkali) SOLUBLE IN BOTH.
G. Amine will react with acid (HCl) as with F above. SOLUBLE IN ACID
H. Amide will not react as with E. The phenol group acts as a very weak acid, and its H+ is drawn away from the -OH group (which is attached to one of the Cs on the aromatic ring) by NaOH SOLUBLE IN NaOH
M