The difference of two numbers is 9 and they are in the ratio 4:7. find the numbers.