The sum of two numbers is 45 and their ratio is 7 : 8. Find the numbers.
Let one of the numbers be x.
Then the other number will be 45 – x
By the given condition
x45−x = 78
By cross multiplying, We have
8x = 7(45 – x)
8x + 7x = 315
x = 21
Thus, one number is 21 and the other number is 45 - 21 = 24