He has made 8 full baskets with both apples and oranges together
so the triangle has the vertices of (2, 18) (-2, -4), and (6,12), that gives us the endpoints for each line of
(2, 18) , (-2, -4)
(-2, -4) , (6,12)
(6,12) , (2, 18)

![\bf (\stackrel{x_1}{-2}~,~\stackrel{y_1}{-4})\qquad (\stackrel{x_2}{6}~,~\stackrel{y_2}{12}) \\\\\\ slope = m\implies \cfrac{\stackrel{rise}{ y_2- y_1}}{\stackrel{run}{ x_2- x_1}}\implies \cfrac{12-(-4)}{6-(-2)}\implies \cfrac{12+4}{6+2}\implies \cfrac{16}{8}\implies 2 \\\\\\ \begin{array}{|c|ll} \cline{1-1} \textit{point-slope form}\\ \cline{1-1} \\ y-y_1=m(x-x_1) \\\\ \cline{1-1} \end{array}\implies y-(-4)=2[x-(-2)] \\\\\\ y+4=2(x+2)\implies y+4=2x+4\implies \blacktriangleright y=2x \blacktriangleleft](https://tex.z-dn.net/?f=%5Cbf%20%28%5Cstackrel%7Bx_1%7D%7B-2%7D~%2C~%5Cstackrel%7By_1%7D%7B-4%7D%29%5Cqquad%20%28%5Cstackrel%7Bx_2%7D%7B6%7D~%2C~%5Cstackrel%7By_2%7D%7B12%7D%29%20%5C%5C%5C%5C%5C%5C%20slope%20%3D%20m%5Cimplies%20%5Ccfrac%7B%5Cstackrel%7Brise%7D%7B%20y_2-%20y_1%7D%7D%7B%5Cstackrel%7Brun%7D%7B%20x_2-%20x_1%7D%7D%5Cimplies%20%5Ccfrac%7B12-%28-4%29%7D%7B6-%28-2%29%7D%5Cimplies%20%5Ccfrac%7B12%2B4%7D%7B6%2B2%7D%5Cimplies%20%5Ccfrac%7B16%7D%7B8%7D%5Cimplies%202%20%5C%5C%5C%5C%5C%5C%20%5Cbegin%7Barray%7D%7B%7Cc%7Cll%7D%20%5Ccline%7B1-1%7D%20%5Ctextit%7Bpoint-slope%20form%7D%5C%5C%20%5Ccline%7B1-1%7D%20%5C%5C%20y-y_1%3Dm%28x-x_1%29%20%5C%5C%5C%5C%20%5Ccline%7B1-1%7D%20%5Cend%7Barray%7D%5Cimplies%20y-%28-4%29%3D2%5Bx-%28-2%29%5D%20%5C%5C%5C%5C%5C%5C%20y%2B4%3D2%28x%2B2%29%5Cimplies%20y%2B4%3D2x%2B4%5Cimplies%20%5Cblacktriangleright%20y%3D2x%20%5Cblacktriangleleft)

С = 2πr [π≈3.14]
220 = 2 * 3.14 * r
220 = 6.28r
r = 220/6.28 ≈ 35 cm ← <span>to the nearest whole number.</span>
Whenever you face the problem that deals with maxima or minima you should keep in mind that minima/maxima of a function is always a point where it's derivative is equal to zero.
To solve your problem we first need to find an equation of net benefits. Net benefits are expressed as a difference between total benefits and total cost. We can denote this function with B(y).
B(y)=b-c
B(y)=100y-18y²
Now that we have a net benefits function we need find it's derivate with respect to y.

Now we must find at which point this function is equal to zero.
0=100-36y
36y=100
y=2.8
Now that we know at which point our function reaches maxima we just plug that number back into our equation for net benefits and we get our answer.
B(2.8)=100(2.8)-18(2.8)²=138.88≈139.
One thing that always helps is to have your function graphed. It will give you a good insight into how your function behaves and allow you to identify minima/maxima points.