how to set up mixture system of equations