SO we have two variables.
x is the larger which makes the second variable the smaller.
We can call the smaller x-21 because we know it's 21 less than x.
but we also know that x + x-21 = 47.
Using basic algebra: 2x-21=47.
Bringing 21 to the other side: 2x=68
Dividing by 2 to get x on its own: x=34.
Therefore the larger of the number is 34.
Now we simply minus 21 from 34: 34-21=13
Making the second variable 13
We can check this by: 13 + 34 = 47.
So the two numbers are 34 and 13.
:)