Easy Way to Convert Variables to Local Variables?

My first stumbling block on this task: