Let $(M,g)$ be a Riemannian manifold such that the parallel transport along every simple closed curve is the identity operator. A smooth function $f:M\to \mathbb{R}$ is called a quadric function if for every two points $x,y \in M$ we have $H(f)(x)=P_{xy}^{*}H(f)(y)$ where $P_{xy}$ is the parallel transport from $x$ to $y$.(With respect to an arbitrary curve which joins $x$ to $y$).
Is the product of two affine functions, a quadric function?
Can we write every quadric function as a linear combination of terms in the form $fg$ where $f$ and $g$ are affine functions?