one number is 5 greater than the other. their sum is 25. find both numbers

x + 5 + x = 25

2x = 20

x = 10