XX+YY=1/(xx+yy)
xx+yy=1/(XX+YY)
x=(xx+yy)*X=X/(XX+YY), y=(xx+yy)*Y=Y/(XX+YY)