I've been turning this exercise over for a while, and I appear to be stuck in particular on part (c). The question is:
Let $V$ be a projective variety in $\mathbb{P}^n$ of dimension $\geq 1$ and nonsingular in codimension $1$. Let $X$ be the affine cone over $V$ in $\mathbb{A}^{n+1}$, and $\bar{X}$ it's projective closure. Let $S(V)$ be the homogeneous coordinate ring of $V$. Show $S(V)$ is a UFD if and only if $V$ is projectively normal and $\text{Cl } V \simeq \mathbb{Z}$, generated by the class of $V.H$
I can do one direction. Namely, if $S(V)$ is a UFD, then the following exact sequence
$$\mathbb{Z} \to \text{Cl } V \to \text{Cl }X \to 0$$
can be modified to $$0 \to \mathbb{Z} \to \text{Cl }V \to 0 $$ since $\text{Cl }X$ is $0$, as $S(V)$ is also the coordinate ring of the cone $X$, and it is proven in the previous part that the map from $\mathbb{Z}$ is injective. This proves the divisor condition. However it is also true that a UFD is integrally closed, so projective normality follows.
What I can't do is the other direction. This should be just a statement about commutative algebra. I would like to use the equivalent condition that all prime ideals are principal, for example, but I don't know how to relate this to the divisor class group. Another possible approach that might be promising is the also equivalent condition that the ring satisfy the ascending chain condition on principal ideals (which is trivial, since the ring we're dealing with is already Noetherian, as a variety is a finite type scheme over a field and so is Noetherian) and every irreducible is prime. So it suffices to check that projective normality and having class group the integers is enough to prove every irreducible is prime.
Is this the right way to go? Perhaps there is a better way?