find the slope of: y-x=0

The general formula for a straight line is

y = mx + b where m is the slope and b is the y intercept.
I would take your equation of y-x=0 and put it into slope/intercept form. That means y = x + 0.
From this, you can see that m (the coefficient of x) is .......