Find the ratio in which the point (h, 3k) divides the line segment joining the points (h, 5, 4) and (2, 3). Also, find the value of k.