Find the value(s) or range of values of k for which
(a) the line y = kx - 5 is tangent to the curve x^2 = 2y + 1.
(b) the line x + 3y = k - 1 intersect the curve y^2 = 2x + 5.