the sum of 2 numbers is 21 and the difference is 5?

Let x be the larger number and y be the smaller one. We have two variables and two equations as follows:

x+y=21

x-y=5

therefore 2x=26 and x=13 and y=21-13=8. The two numbers are 8 and 13.