Can anyone please me to generate below constraint

Popular question: