Answer:
18 and 27
Step-by-step explanation:
Let x = first (smaller) number
Let y = second (larger) number
Sum of two numbers is 45:
⇒ x + y = 45
The greater number is 9 more than the other number:
⇒ y = x + 9
Substitute y = x + 9 into x + y = 45 and solve for x:
⇒ x + (x + 9) = 45
⇒ 2x + 9 = 45
⇒ 2x = 36
⇒ x = 18
Substitute found value for x into y = x + 9 and solve for y:
⇒ y = 18 + 9
⇒ y = 27
Therefore, the two numbers are 18 and 27