Cadence Design Systems interview question

A specific code example asking you the scope of variable and object