Green synthesis process of 4