Permutations/n and n+1/Bijection/Exercise

Show that the assignment

given by

is well-defined and bijective.