A number x is equal to 6 less than twice of a number y formed by taking the digits of the number x