M25-CHEM-HL-TZ3-P1A-Q17

Two large organic molecules are shown. Molecule 1 contains a nitrile group, an ether oxygen, a tertiary amine, fluorine, and two benzene rings. Molecule 2 contains a tertiary amine, an amide group, and an indole ring structure (which includes a benzene ring). Which functional groups are present in both of these molecules?