To represent the spending of the company mathematically, we can define variables for the prices of product X and product Y. Let:
- \( p_X \) represent the price of one unit of product X.
- \( p_Y \) represent the price of one unit of product Y.
The company buys 2 units of product X and 3 units of product Y, and their total spending is $100.
This can be expressed with the equation:
\[ 2p_X + 3p_Y = 100 \]
This equation captures the total cost of the products based on their quantities and prices.