If y=3x-7, 3y=kx-21 are equivalent linear equations, what is the value of k?