What is the question you are struggling with I will try and help.
let's say the two numbers are x and x + 9. so we know x + x + 9 = 21, so 2x + 9 = 21. subtract 9 from both dies to get 12 = 2x. divide both sides by 2 to get x = 6. so your two numbers are 6 and 15.
The tenth place is 7 and the hundred place is 4.