The polynomial 4x10−x9+3x8−5x7+cx6+2x5−x4+x3−4x2+6x−2 when divided by x−1 leaves a remainder 2. Then the value of c+6 is________.