solve algebraically

x^2 + y^2 = 25
y = x - 1

put x-1 for y into the first expression, and solve for x. Note it will be quadratic, so you will have two solutions, and also then two solutions for each x in y.