Answer:

Step-by-step explanation:
x - 2 (x -
) = 2 (4 - x) + 10
x − 2 ×
=2(4−x)+10
x−(−x)=2(4−x)+10
x+x=2(4−x)+10
2x=2(4−x)+10
2x=8−2x+10
2x=−2x+18
2x+2x=18
4x=18


The Lagrangian is

with partial derivatives (set equal to 0)


for each
.
Let
be the sum of all the multipliers
,

We notice that

so that

We know that
, so

Solving the first
equations for
gives

and in particular

It follows that

which gives us

That is, we've found two critical points,

At the critical point with positive signs,
attains a maximum value of

and at the other, a minimum value of

This might be wrong but I got 120/1008