Using a simple frame or just bolding for the box
Key Points:
Grignard reagents (RMgX) add to ketones/aldehydes to form alkoxides.
Alkoxides are strong nucleophiles.
Intramolecular S$_N$2 reactions can occur if a nucleophile and a suitable leaving group are present in the same molecule, appropriately positioned (favored for 5/6-membered rings).
The sequence is: 1) Grignard addition, 2) Intramolecular cyclization.