First, let's assign some expressions to represent these two numbers for the problem.
Let the first number be equal to x
Let the second number be equal to x + 6
Second, according to your problem, the sum of these two expressions will be equal to 26, therefore we now have the following equation:
x + x + 6 = 26