Scheme 2: Synthesis of dihydrazide of terephthalic acid.