Question 139467
Think about what you would expect to get before you start working on anything.  {{{x^2+y^2=25}}} is a circle centered at the origin with a radius of 5.  {{{5=x+y}}} can be written as {{{y=-x+5}}} which is a straight line with a slope of -1 and a y-intercept of 5.  So we have a straight line and a circle.  You have one of three possible outcomes for such a situation.  The line intersects the circle in two places, the line is tangent to the circle so it intersects in only one place, or the line doesn't intersect at all.


Given that, your solution method was correct up to the point where you expanded the binomial and collected like terms.  Your algebraic manipulation was faulty.


{{{(5-y)^2=25-10y+y^2}}}, so you should have gotten to {{{25-10y+y^2+y^2-25=0}}}


{{{2y^2-10y=0}}}


{{{y^2-5y=y(y-5)=0}}}


So, {{{y=0}}} or {{{y = 5}}}.  From here you can calculate the two x-coordinates to complete your points of intersection.


The fact that you substituted {{{y-5}}} instead of {{{5-y}}} was an error but not one that would have an impact on the result.  {{{y-5=-(5-y)}}}, and since you were squaring that quantity, the sign wouldn't matter in the final analysis.  I can't for the life of me figure out how you got from {{{(y-5)^2+y^2=25}}} to {{{2y-y^2-25=0}}}, so my only advice is to go back and thoroughly review the FOIL process for expanding binomials.


{{{drawing(600,600,-6,6,-6,6,
grid(1),
circle(0,0,5),
graph(600,600,-6,6,-6,6,-x+5),
green(circle(0,5,.1),
circle(5,0,.1),
locate(.2,5.4,A(0,5)),
locate(5.2,-.1,B(5,0)))
)}}}