The IUPAC names of the compounds shown are:
Compound A:
The structure has a 4-carbon chain with a double bond starting at carbon 1 and an amino group at carbon 3.
Therefore, the name is:
\[
\boxed{\text{But-1-en-3-amine}}
\]
Compound B:
The structure is a benzene ring with a chlorine substituent at position 4 and a dimethylamino group (\( \text{N(CH}_3)_2 \)) attached.
Therefore, the name is:
\[
\boxed{\text{4-Chloro-N,N-dimethylbenzenamine}}
\]
Hence,
\[
\text{A = But-1-en-3-amine}, \quad \text{B = 4-Chloro-N,N-dimethylbenzenamine}
\]