F is the number of ml of the first brand
S is the number of ml of the second brand
The first equation is

and for the second equation

we will let by itself F of the first equation

We will substitute the value of F in the second equation

then we simplify the expression


then we let by itself S

then we substitute the value of S in the equation with F isolate

Therefore
The chef will need 40 ml of the first brand and 160 ml of the second brand