As the number are in the ratio 5:6,let the numbers be 5x and 6x.
When 2 is added to the first number and 3 is added to the second number,then the numbers becomes 5x+2 and 6x+3.
Since these numbers are in the ratio 4:5,therefore,
The numbers are and i.e.,10 and 12.