Zhuge Liang turned the trick back on them and crushed Cao's army.
Tips
history
Attested in Li Wenwei's Yuan-dynasty zaju 《张子房圮桥进履》. A recurring tactic in 《三国演义》 (Romance of the Three Kingdoms), especially attributed to Zhuge Liang.
memory
Literally 'take (将) the plan (计) and follow through with (就) the plan (计)', you adopt the enemy's scheme as your own and weaponize it back.