Two numbers have a sum of 47. Their difference is 5. What are the two numbers?

Let x = the larger number.

x + (x-5) = 47
2x - 5 = 47
2x = 52
x = 26