Let's take the first number as 'x' ( This would be the smaller number )
Let's take the second number as 'x+1' ( This would be the larger number )
I have taken x and x+1 because both these numbers are consecutive.
Twice the larger number :-
... 2 ( x + 1 )
... 2x + 2
15 less than thrice the smaller number :-
... 3x - 15
The question states that these both values are equal. Hence,
... 2x + 2 = 3x - 15
... 2 + 15 = 3x - 2x
... 17 = x
The value of 'x' is 17
( The smaller number is 17 )
Larger number :-
... x + 1
... 17 + 1
... 18
Hence, the numbers are 17 and 18.
Hope my answer helps!!