.
See the solution given by Edwin at this link
https://www.algebra.com/algebra/homework/Linear-equations/Linear-equations.faq.question.1194100.html
/////////////////
Below is the solution which uses free of charge online solver from the Internet for the simplex method.
Let x = # of wigs; y = # of candles and z = # of the hat clips.
The problem is to maximize the profit function
P(x, y, z) = 20x + 8y + 14z
under these restrictions
10x + 4y + 10z <= 4000,
10x + 6y + 2z <= 1800.
Now go to the site https://www.zweigmedia.com/RealWorld/simplex.html
and use free of charge solver there.
Input the profit function and the restrictions and press the "Solve" button.
It will solve this maximization problem using the "simplex method".
The solver produces this solution (this answer)
x = 175 wigs; y = 0 candles; z = 275 hat clips; p = $6350. ANSWER
--------------
The input to the solver is shown/presented/documented below :
Maximize p = 20x + 8y + 14z subject to
10x + 4y + 10z <= 4000
10x + 6y + 2z <= 1800
x >= 0
y >= 0
z >= 0
Solved.