For all numbers x, let #x be defined as #x=-x+1. Which of the following is equal to #(#x)? The answer is x.

I tried it out by moving the x over to find that (-x+1)/x = # but I got stuck going down that way and don't know how they got x by itself.

Help please.