Lets denote original number as abc
The coded number could be broken into 3 part of 2 digits each
First two digits of coded number from left is derived as = a*c =7*9 = 63
Middle two digits are derived as = a+c-b = 7+9-8 = 08
Last two digits are derived as = Reverse of (a+b+c) = Reverse of(7+8+9) = Reverse of (24) = 42