If $P$ is a finitely generated left $R$-module, prove that $P$ is projective if and only if $1_{P} \in \operatorname{im} v$, where $v: \operatorname{Hom}_{R}(P, R) \otimes_{R} P \rightarrow$ $\underset{\sim}{\operatorname{Hom}}_{R}(P, P)$ is defined, for all $x \in P$, by $f \otimes x \mapsto \widetilde{f}$, where $\widetilde{f}: y \mapsto f(y) x .$
Hint. Use a projective basis.