Let $V,W$ and $Y$ vector spaces over $F$ and let $f\in$ Hom($V$,$W$). Prove that the set of every $g \in$ Hom($W$,$Y$) such that $g\circ f=0$ is a subspace of Hom($W$,$Y$), calculate its dimension.
So I've got tackled down the subspace part, but for the dimension part I'm a bit stuck. I already got a formula for the dimension, if $A$ is the set of all $g$ such that $g\circ f=0$, then:
$$\dim(A)=\dim(\text{Hom}(W,Y)) - \dim(\text{Hom}(\text{Im}f,Y))$$
As far as I got it this is because the image of $f$ has a set $B$ such that $f \oplus B=W$ so $\dim(\text{Hom}(W,Y)) = \dim(\text{Hom}(\text{Im}f,Y))+\dim(\text{Hom}(B,Y))$. So you have to prove that $\dim(\text{Hom}(B,Y))= \dim(A)$. But how can you do that? I know you can establish a bijection between those two sets, but I'm not sure of how.