For $x^2+y^2$ there is a formula based on multiplication of complex numbers which allows one, given specific representations $a^2+b^2=m,\ c^2+d^2=n,$ to obtain a representation $s^2+t^2=mn.$ That is, there are simple formulas for $s,t$ in terms of $a,b,c,d.$
I am asking here for such a formula for the form $x^2+xy+y^2.$ That is, given $a^2+ab+b^2=m,\ c^2+cd+d^2=n,$ to solve $s^2+st+t^2=mn,$ where there are simple formulas for $s,t$ in terms of $a,b,c,d.$
Thank you for any information about this.
Added later: I was looking to find cases of two representations by the form $$x^2+xy+y^2 \tag{1}$$ of the same number using positive $x,y$ and [though there is a smaller example] found what to me is an interesting coincidence. The "taxicab number" $1729,$ famous for having two essentially different representations as a sum of two cubes, has three different representations by $(1).$ They are $(x,y)=(25,23),(32,15),(37,8).$