A system of equations contains the lines x+4y=2 and x−2y=c. When solving the system algebraically, it is determined that x=6. What is the value of c in the second equation?