Write positions under the word and the code, find the shift of every letter, then reuse the same shifts.

— Method to remember

Key takeaways: find each letter's shift separately; watch for alternating and increasing shifts; wrap around from Z to A when needed.