Given a quadratic form
then
since
More things to try:
Weisstein, Eric W. "Composition Theorem." From MathWorld--A Wolfram Web Resource. https://mathworld.wolfram.com/CompositionTheorem.html