okay, so does this seem right?
Direction vectors:
The first is the direction vector of the line = (5, -1, -4) ,
the second is the normal vector of the first plane = (5, -3, 7)
And (- 1, 5, 7) is a point of the second plane (and of the first plane)
So the equation of the second perpendicular...