If the equation x2−2kx−2x+k2=0 has equal roots the value of k must be
If the equation x2+2(k+2)x+9k=0 has equal roots, then values of k are __________.