Let the required numbers be 3x and 5x
Given that if 8 is added to each other then ratio becomes 2: 3
That is 3x + 8: 5x + 8 = 2: 3
(3x + 8)/ (5x + 8) = 2/3
3 (3x + 8) = 2 (5x + 8)
9x + 24 = 10x + 16
By transposing
24 – 16 = 10x – 9x
x = 8
Thus the numbers are 3x = 3 (8) = 24
And 5x = 5 (8) = 40