How to let Trump take credit, and still win the game – Xi has cracked the code