Step 1: Represent quantities.
Sand : Cement (quantity) = \(3:1\).
Let sand = 3 units, cement = 1 unit.
Step 2: Represent costs.
Cost per unit of sand : cement = \(1:2\).
Let cost of sand per unit = \(x\), then cement per unit = \(2x\).
Step 3: Total cost calculation.
Total cost = \((3 \times x) + (1 \times 2x) = 3x + 2x = 5x\).
Given: \(5x = 1000 \;\Rightarrow\; x = 200\).
Step 4: Cost of cement.
Cement = \(1\) unit \(\times\) \(2x\) = \(2 \times 200 = 400\).
Wait, check carefully: Cement quantity is 1 unit, but its cost per unit = \(2x = 400\).
So cement cost = \(400\).
Recheck carefully.
Sand cost = \(3 \times 200 = 600\).
Cement cost = 400.
Total = 1000. Matches given.
Final Answer:
\[
\boxed{400}
\]
The relationship between two variables \( x \) and \( y \) is given by \( x + py + q = 0 \) and is shown in the figure. Find the values of \( p \) and \( q \). Note: The figure shown is representative.
