If the lines whose cartesian equations are x−42=y+31=z−11 and x−41=y+3k=z−12 are perpendicular to each other, then the value of k is