OK, if you solved it, then maybe you don't want to talk about it, but I'm curious how you made sense of the problem. A metric is bilinear by definition, and so is the first fundamental form. (I wasn't familiar with that term, but I just looked it up). So I don't see how to extract a function from your notation that needs to be proved to be bilinear.
If we're dealing with a metric, what you wrote can can be interpreted as a sloppy way of writing ##g=g_{ij}dx^i \otimes dx^j##. This is a formula that holds because of the bilinearity of the metric: For all u,v, we have
$$g(u,v)=g(u^i e_i, v^je_j)=u^i v^j g(e_i,e_j) =u^i v^j g_{ij} =g_{ij} dx^i(u) dx^j(v) =g_{ij} dx^i\otimes dx^j (u,v).$$ This implies that ##g=g_{ij}dx^i\otimes dx^j.## How am I supposed to interpret what you wrote if not as ##g_{uu}=\cos v## and so on? I'm not sure that this interpretation makes sense if we don't already know that g is a metric, or at least that it's a bilinear form.