In the grid below, each number can be obtained through the sum of the two numbers connected directly below it. For instance, in the last row, the 5 is the sum of the two numbers below it, 2 and 3. Using the same method, all the numbers starting from the bottom row sums all the way up to the final square, 2x. Determine the value of x if the number in the topmost square is double unknown number in the bottom row.
