4. Let \( T: P_2 \to P_2 \) be the linear transformation defined by

$$T(p(x)) = p(2x - 1).$$

Please find the matrix of T with respect to the basis $\mathcal{E} = \{1, x + 1, x^2\}$. (7%)