The trade is calculated using the components X*Y=K, wherever X and Y would be the quantities of each asset and K can be a predefined consistent.
a person illustration could well be a DAI/USDC pair, which must https://uniswapv3login.azurewebsites.net/