System of 3 Equations with 3 variables