Extreme of linear function with linear constraints
Maximize the function $f(x,y)=2.5x +3y$ with the constraints
$$ \left\{ \begin{array}{cc} 3x+6y & \leq90,\\ 2x+y & \leq35,\\ x+y & \leq20,\\ x,y & \geq0. \end{array}\right. $$The conditions $x\geq 0$ and $y\geq 0$ mean that the region of the plane described by the constraint must be in the first quadrant.
Let us draw the borders of the region where the solution lies. We have 3 lines, $r_{1}$, $r_{2}$ and $r_{3}$.
$r_{1}$ intersects axis $OX$ in $x=30$ and axis $OY$ in $y=15$. Similarly, $r_{2}$ intersects axis $OX$ in $x=17.5$ and axis $OY$ in $y=35$. Finally, $r_{3}$ intersects axis $OX$ in $x=20$ y and axis $OY$ in $y=20.$
Each of these lines divides the plane into two regions, one that verifies the condition and the other that does not. It is therefore enough to try with a point and if this point fulfills the condition, the region of the plane where this point is located belongs to the region.
For simplicity, we try with the origin $\left(0,0\right)$
So the region is the intersection of the three regions under the lines and it is the region represented in yellow, which is in the first quadrant because $x\ge 0$ and $ y\ge 0$
As the function is linear and is a two-variable function, its representation as a surface is a plane and its isolines are straight lines.
The maximum will be at one of the vertices (or sides) of the polygon that surrounds the area. So we need to calculate the vertices.
We compute the value of the function $f(x,y)=2.5x +3y$ at these points
And the maximum is in $C$, because, at this point, the value of the function is maximum.