Let there be two regressors $x_1$ is binary (i.e., takes on values $0$ and $1$) and $x_2$ is categorical with $3$ categories ($A$, $B$, and $C$). Write $E[y|x_1, x_2]$ as a linear regression.
So being a linear regression, then $E[y|x_1, x_2]$ must be linear in $x_1$ and $x_2$. So we can write $E[y|x_1, x_2] = \beta_1 x_1 + \beta_2 x_2 + \beta_3$ where $\beta_3$ is the intercept. But I am unsure of how to incorporate the dummy variable and categorical variable into the regression. Any help would be appreciated.