Hello, thank you for taking the time to post your question!
You can use the information given in the question to set up an equation:
x + (x + 9) = 29
Solving that for x gives
2x + 9 = 29
2x = 20
x = 10
so the first number would be 10 and the second number would be (10 + 9) = 19.
I hope that helps get you moving in the right direction! Feel free to reach out if you have any additional questions beyond that :)