Decompositions of Abelian surface and quadratic forms