Synthesis of compound 7 and 9. Reagents and conditions: (1) Acyl chloride, Et3N, DCM, DMAP, r.t; (2) benzene sulfonyl chloride, Et3N, DCM, DMAP, r.t; (3) amine, K2CO3, NaI, MeCN, r.t. DCM, dichloromethane; DMAP, dimethylaminopyridine; r.t., room temperature.