2 Numbers are in the ratio 2:3. if 8 is added to both the numbers ,then the ratio becomes 3:4 . then the numbers are ?

x/y = 2/3

(x+8)/(y+8) = 3/4

3x = 2y
4x+32 = 3y+24

4x + 32 = 3(3x/2)+24
x/2 = 8
x = 16
y = 24

check:
16/24 = 2/3
(16+8)/(24+8) = 24/32 = 3/4