If x3+k³ = (x + k) (x²-2x+k²), what is the value of k?​