Let $X$ be compact and suppose that $Y$ is a Banach subspace of $C(X)$. If E is a closed subset of $X$ such that for every $g\in C(E)$ there is an $f\in Y$ with $f_{|_{E}}=g$. Show that there is a constant $c>0$ such that for each $g\in C(E)$ there is an $f\in Y$ with $f_{|_{E}}=g$ and $||f||\leq c||g||$.
For this I think about using the inverse mapping theorem for the functional $\phi:Y\to C(E)$ but it's not injective.
Please help me.