The whole numbers which give the remainder x when divided by y can be found using the formula yz+x, where z is 0, 1, 2, ...
The whole numbers less than 65 which give the remainder 6 when divided by 9 are:
6, 15, 24, 33, 42, 51, 60
The whole numbers less than 65 which give the remainder 4 when divided by 8 are:
4, 12, 20, 28, 36, 44, 52, 60
The only number that satisfies both these conditions is 60.
The number is 60.