Custom synthesis plays a vital role in the field of chemistry, enabling the creation of…