Explanation:
x pages in total.
250 pages first.
then
(x - 250)×0.75
is 75% of the remainder after reading the first 250 pages.
as 125 pages were left, that means that they were the other 25% of the remaining pages after reading the first 250 pages.
so,
(x - 250)×0.25 = 125
x - 250 = 125 / 0.25 = 125×4 = 500
x = 500 + 250 = 750
there were 750 pages in the book.