The metric on the sphere in the $(\theta,\phi)$ is of the form: $$ g_{\theta\theta}=r^2,g_{\theta\phi}=g_{\phi\theta}=0,g_{\phi\phi}=r^2\sin^2\theta $$
When transforming it to the $(x,y)$ coordinate on the plane using stereographic projection, I got $$ g_{xx}=g_{yy}=\frac{4}{(1+(x^2+y^2))^2},g_{xy}=0 $$
However, in the note I'm reading, it is been written in the form $$ g=\frac{4}{(1+(x^2+y^2))^2}[dx\otimes dx+dy\otimes dy] $$
Can anyone tell me how the tensor product comes here?