we have the equations
x^2+y^2=9
this is the equation of a circle centered at the origin with a radius of 3 units
y=x
this is the equation of a line
therefore
The total points of intersection are 2
see the figure below to better understand the problem