y = 5, calculate x = ++y, and display y and x:

Note: Both variables, y and x, are affected.