the difference between eight times a number and 16 is 40. find the number