If 6 is a root of the equation x28x+k=0, what is the value of k?