For the linear function h(x)=2x+k, k is a constant. When x=3, h(x)=10. What is the value of k?
−4
4
7
16