If one root the equation x2+3x-k=0 is 2, what is the value of k ?