If 9 is added to twice a number and this sum is multiplied by 3, the result is the same as if the number is multiplied by 4 and 13 is added to the product, what is the number?