Explanation:
Set up a system of equations,
Consective numbers appear before and after so we need two number such that

or

Likewise, we also know that

Let multiply the top equation by 3.
We get

Then we add the bottom equation to that



Then we plug in x for the original equation,

So the two numbers are 22,23.