The two numbers are 9 and 8
Algebra is the part of mathematics that helps represent problems or situations in the form of mathematical expressions.
let the first number be x
second number = x- 1
Now,
2( x-1) = 5x - 25
2x -2 = 5x -25
-3x= -27
x= 9
hence, the numbers are 9 and 8.
Learn more about Algebra here:
https://brainly.com/question/953809
#SPJ2