For this case we have the following function:

To find the distance between the pillars, we must match the equation to zero:

From here, we clear the value of d:

The roots are:
Root 1:

Root 2:
Thus, the pillars are 40 units away.
The maximum height, we obtain it by deriving:

We equal zero and clear d:

Then, we substitute the value of d = 20 in the equation for the height:
The maximum height is 10 units of distance
K is approx 2.57 using a calculator and trying different answers can, in certain situations be useful
(2x-3y)^5
(2x-3y)(2x-3y)(2x-3y)(2x-3y)(2x-3y)
1st and 2nd power :
(2x-3y)(2x-3y) = 2x(2x-3y)-3y(2x-3y) = 4x² - 6xy - 6xy + 9y²
= 4x² - 12xy + 9y²
3rd power:
(2x-3y)(4x² - 12xy + 9y²) = 2x(4x² - 12xy + 9y²) - 3y(4x² - 12xy + 9y²)
8x³ - 24x²y + 18xy² - 12x²y +36xy² - 27y³
8x³ - 24x²y - 12x²y + 18xy² + 36xy² - 27y³
8x³ - 36x²y + 54xy² - 27y³
4th power
(2x-3y)(8x³ - 36x²y + 54xy² - 27y³) = 2x(8x³ - 36x²y + 54xy² - 27y³) -3y(8x³ - 36x²y + 54xy² - 27y³) = 16x^4 - 72x³y + 108x²y² - 54xy³ - 24x³y + 108x²y² - 162xy³ + 81y^4
16x^4 - 72x³y - 24x³y + 108x²y² + 108x²y² - 54xy³ - 162xy³ + 81y^4
16x^4 - 96x³y + 216x²y² - 216xy³ + 81y^4
5th power
(2x-3y)(<span>16x^4 - 96x³y + 216x²y² - 216xy³ + 81y^4)
2x(</span>16x^4 - 96x³y + 216x²y² - 216xy³ + 81y^4) - 3y(<span>16x^4 - 96x³y + 216x²y² - 216xy³ + 81y^4)
= 32x^5 - 192x^4y + 432x</span>³y² - 432x²y³ + 162xy^4 - 48x^4y + 288x³y² - 648x²y³ + 648xy^4 - 243y^5
32x^5 - 192x^4y -48x^4y + 432x³y² + 288x³y² - 432x²y³ - 648x²y³ + 162xy^4 + 648xy^4 - 243y^5
32x^5 - 240x^4y + 720x³y² - 1,080x²y³ + 810xy^4 - 243y^5
Given in the scenario:
a.) Marjorie bought 24 bottles of juice.
b.) Each day she opens and drinks 2 of these bottles of juice.
The inequality that represents the greatest number of days she can continue before she has to replenish her stock is:

Marjorie has to replenish her stock when it is lesse