If given line makes an isosceles triangle with the planes, then the angle that the line makes with the normal vectors to the planes are equal
A vector parallel to the line is b→=<k,2,−12>
A normal vector to the first plane n1→=<2,1,3>
A normal vector to the second plane n2→=<1,2,−3> cosθ=∣∣b→∣∣∣n1→∣b→⋅ni→=∣∣b→∣∣∣n2→∣b→⋅n2→⇒2k+2−36=k+4+36 ⇒k=74