Step 1: Plan:
We break each name into the parent chain, the substituent and the locant, and then draw the chain with the groups in place.
Step 2: Draw (a):
Ethanol means two carbons with the hydroxyl group. Number the chain from the end that carries -OH, so -OH is on C-1. The amino group is then on C-2.
Condensed formula: $\mathrm{HOCH_2CH_2NH_2}$. It is a compound with two different functional groups, an alcohol and a primary amine.
Step 3: Draw (b):
Ethanamine is $\mathrm{C_2H_5NH_2}$. The letter N in front of ethyl tells us the second ethyl group sits on nitrogen.
The nitrogen now holds two ethyl groups and one hydrogen: $\mathrm{(C_2H_5)_2NH}$. This is a secondary amine.
Final Answer:
The structures follow directly from the names.
\[ \boxed{\mathrm{HOCH_2CH_2NH_2} \;\; \text{and} \;\; \mathrm{(C_2H_5)_2NH}} \]