Let x be the greater integer
Let y be the smaller integer
their sum is one hundred and seventy one:

their difference is twenty-five:

Use the next system of equations:

1. Solve y in the second equation:

2. Substitute the y in the first equation by th value you get in step 1:

3. Solve x:

Then, the greater integer is 98