6. In a three-digit number, the digit in the hundreds place is 2 more than the digit in the units place. Find the difference between this number and the number formed by the same digits but in reverse order.
6. Solution. Let \(x\) be the tens digit and \(y\) be the hundreds digit of a three-digit number. Then the units digit will be \(y-2\), and thus the desired number is

\(100 y + 10 x + y - 2 - 100(y - 2) - 10 x - 2 = \ldots = 198\).