] && system_3_eq_1[1] != 0) {
        document.getElementById('step_name').innerHTML = "Multiplied the 2nd equation by the 2nd coefficient from the 1st.";
        system_3_eq_2[0] *= system_3_eq_1[1];
        system_3_eq_2[1] = system_3_eq_1[1];
        system_3_eq_2[2] *= system_3_eq_1[1];
    } else if (system_3_eq_2[1] == system_3_eq_1[1] && system_3_eq_1[1] != 0) {
        document.getElementById('step_name').innerHTML = "Subtracted the 2nd equation from the first";
        system_3_eq_1[0] -= system_3_