Scheme 2:
Synthesis of compounds 6-10.