Add mention of lexical scoping in Variables and Scoping

(cherry picked from commit 5c04ee955d6e52a6a4a438ed172ca65093f1c18b)
ref: #9267

edit explanation of lexical scope
(cherry picked from commit 2be0c80f466e82e4583530008291ee44238ebf79)