When 64 is added to the number that is produced by doubling the number x, the result is equal to 35 times the number that 1 less than x. What is the value of x?