We can solve the question in a simple manner by following the question step-by-step.
Let the unknown number be x.
For twice of the number, we have 2x.
Twice of the number is decreased by 15, we have 2x - 15 , which is equal to 25.
Hence we get a linear equation in one variable as
2x - 15 = 25 (Add Both sides by 15)
2x - 15 + 15 = 25 + 15
2x = 40 (Divide both sides by 2)
(2x2)=(402)
Therefore, we get x = 20, which is the required number.