in a coconut grove , ( x + 2 ) trees yield 30 nuts per year , x trees yield 120 nuts per year and ( x – 2 ) trees yield 180 nuts per year . if the average yield per year per tree be 100 , find x .
"( x + 2 ) × 30 + x × 120 + ( x − 2 ) × 180 / ( x + 2 ) + x + ( x − 2 ) = 100 ⇒ 330 x − 300 / 3 x = 100 ⇒ 30 x = 300 ⇒ x = 10 answer e"
divide(subtract(multiply(180, 2), multiply(30, 2)), subtract(add(add(30, 120), 180), multiply(100, const_3)))