The slope is $2 - a$. The y-intercept is $a$.
Work Step by Step
The equation is already in slope intercept form, which is given by the formula: $y = mx + b$, where $m$ is the slope and $b$ is the y-intercept. We can see that the coefficient of the variable $x$ would be the slope, and the constant term would be the y-intercept. In the equation $y = (2 - a)x + a$, the coefficient is $2 - a$, which would be the slope $m$. The constant would be $a$, which is the y-intercept.