i understood ur question.
there is a trick in doing x++ and ++x, for example:
if doing this:
++x*2 first x multiplyese by 2, and then it (x) increases by 1.
if doing this:
x++*2 first x increases by 1, and then the multiply will be done.