Prove that every exact sequence of $R$ modules $$0 \rightarrow M \rightarrow N \xrightarrow{\phi} F \rightarrow 0$$ splits. This is an exercise from Algebra chapter 0, which does not go over projective modules before giving this exercise. It says to use the following prior exercise
Let $R$ be a ring, $F$ a nonzero free $R$-module, and let $\varphi : M \to N$ be a homomorphism of $R$-modules. Prove that $\varphi$ is onto if and only if for all $R$-module homomorphisms $\alpha : F \to N$ there exists an $R$-module homomorphism $\beta : F \to M$ such that $\alpha=\varphi \circ \beta$.
To solve it. So I will try to use this.
Attempt: Since $\phi$ is onto by definition of short exact sequence, for $\text{id}:F \rightarrow F$, there exists $\beta:F \rightarrow N$ such that $\text{id}=\phi \circ \beta$. Thus, $\beta$ is a splitting homomorphism for the sequence and it splits. Is this ok? I tried to come up with an explicit isomorphism $M \oplus F \cong N$ but could not figure this out. Can help me construct an isomorphism?