Dividing by 2, we have S/2=lw+lh+wh. After that, we subtract lh from both sides to get S/2-lh=lw+wh. Next, we divide both sides by w to get (S/2)/w=l+h. Next, we divide by S/2 to get 1/w=(l+h)/(S/2). Lastly, we multiply by w and divide by (l+h)/(S/2) to get w=(S/2)/(l+h)
The answer is 5 and i am writing this other stuff because it said my answer was short
Answer:
Your question was a bit confusing so I found another related question. You can reference it with your own details.
A vendor bought 10 dozen eggs at the rate of Rs 22 per dozen. Six of the eggs were rotten. He sold the remaining eggs at the rate of Rs 2.50 per egg . Find his profit or loss
Vendor bought 10 dozen eggs which means the vendor bought:
= 10 * 12 eggs
= 120 eggs
6 were rotten and he sold the rest for Rs. 2.50 per egg.
= (120 - 6) * 2.5
= Rs. 285
The amount he spent on the eggs was:
= 10 dozen * 22
= Rs. 220
Profit = 285 - 220
= Rs. 65