The multiplicative inverse of [2] is [4] because [2] × [4] = [8] = [1] since we are working modulo 7.
Note that in Zp the elements [1] and [p-1] are the only elements which are self-inverses. So in Z7 with multiplication modulo 7, [1]-1 = [1] and [6]-1 = [6].