I have a problem in the attachment and could you please help me in solving it.
Since is an inner-product space, every linear functional is given by an inner product. In fact, if then the functional is given by . Use that fact to show that .
Now that you know , you have to figure out how to extend f to a linear functional on without increasing the norm.