For the rest of this problem, we assume that $\varphi$ is a non-degenerate symmetric bilinear form on $E$, and we denote by $q$ its quadratic form.
We assume that $h^{-1} \circ h'$ has $n$ distinct eigenvalues. Show that there exists a basis of $E$ orthogonal for both $q$ and $q'$.