For the grown-ups: zopiclone, sleeping tablets:
Stay awake on first flight if possible. Take a pill after dinner. On arrival day, stay up as late as possible, then take another pill when you go to sleep (to avoid waking up at 2am). Then, depending on your energy, take a half pill the next night.