The difference between 10 and three times a number is 31.