Using x to represent the larger number and y to represent the smaller number, do this:
x - y = 9
x = 1/2y + 20
(1/2y + 20) - y = 9
(1/2y - y) + 20 = 9
-1/2y + 20 = 9
- 20 - 20
-1/2y = -11
Divide each side by -1/2 to find y
y = 22
Plug the y value into the first equation
x - 22 = 9
+ 22 + 22
x = 31
The larger number is 31 and the smaller number is 22