Sum global and local variable

Adjust the code so that result is the sum of x and the block version of y.
JavaScript
Console