a. If forecasts are based on simple exponential smoothing, with $\hat{x}_t$ denoting the smoothed value of the series at time $t$, show that the error made in forecasting $x_t$, standing at time $(t-1)$, can be written as follows:
$$
e_f=x_t-\hat{x}_{t-1}
$$
b. Hence, show that we can write $\hat{x}_t=x_t-(1-\alpha) e_t$, from which we see that the most recent observation and the most recent forecast error are used to compute the next forecast.