Questions are in bold.
The set of differentiable real-valued functions on (0,3) such that $f'(2)=b$ is a subspace of $(0,3)\to \mathbb R$ if and only if $b=0$ ($(0,3)\to \mathbb R$ denotes the set of functions from $(0,3)$ to $\mathbb{R}$)
So that it forms a subspace we must have the $0$ element $0(x):x\mapsto0$, and this function have a zero derivative, hence $f'(2)=0$, thus $b=0$.
Also why $f'(2)$ and not $f'(x)$? Right since we have a "if and only if" so that $f'(2)=0$ is not a necessary condition for that $f'(x)=0$ for $x\in(0,3)$?
Also how can we regard a function as a vector? I understand now that a function from a nonempty interval to $\mathbb{R}$ is a vector in $\mathbb{R}^\infty$ since we can write $$f=\{(x_1,f(x_1)),(x_2,f(x_2)),...\}$$ but do we write $(\mathbb{R}^2)^\infty$ or just $\mathbb{R}^\infty$? Or do we have another notation? ($f$ is real valued)