LP-Swap
The price $p^{\mathrm{LP}}$ (in dollars) of a WBNB-CAKE LP token depends on five parameters: the price $p^{\mathrm{WBNB}}$ of WBNB, the price $p^{\mathrm{CAKE}}$ of CAKE, the quantity $x^{\mathrm{CAKE}}$ of CAKE in the pool, the quantity $x^{\mathrm{WBNB}}$ of WBNB in the pool, and the total number $Q$ of WBNB-CAKE LP tokens representing the pool.
$p^{\mathrm{LP}}=\frac{p^{\mathrm{WBNB}}\times x^{\mathrm{WBNB}} + p^{\mathrm{CAKE}} \times x^{\mathrm{CAKE}}}{Q}$