The point where the line x+y=5 touches the y-axis is (0,b) and where it touches the x-axis is (a,0) ,
then a+b =
The point where x+y=5 touches the y-axis is obtained by putting x = 0 in the equation and the point where it touches the x-axis is obtained by putting y = 0 in the equation. We get b = 5 and a = 5.
Therefore a + b =10