The sum of a and B is 31.24 What are the two numbers?

The sum of a and B is 31.24 What are the two numbers?

Obviously, a is 10 times as much as B
Let B be X
10x+x=31.24
x=2.84
10x=28.4
So a 28.4 B 2.84