We know that the calculator price (x) was 25 more than 3 times the price of the textbook (y).
This can be represented as:

We also know that the sum of the prices of the two items is equal to $165:

We have to solve this system of equations with the method of substitution.
We can use the first equation, as we have already clear the value of x, to substitute x in the second equation and then solve for y:

With the value of y we can calculate x using the first equation:

Answer: the solution as ordered pair is (x,y) = (130, 35)