If 8 is added to twice a number and this sum is multiplied by three, The result is the same as if the number is multiplied by four and 10 is added to the product. what is the number?