Increment operators

x=6
z=x + ++x;
z=x+++x;
z=x+ ++x +++x;
z=x++ +x;
please explain the output and ligc for alll … what is the role of spaces