Text this: Study of Synthesis and Synthetic Use of Substituted N,N-diphenylacetamides and Their Transformation to Five- and Six-membered Heterocycles, Usable in Human and Veterinary Medicine, and in Optoeletronics