Take the derivatives of each to get the tangent vectors:
Take the cross product of the tangent vectors to get a vector that is normal to both lines:
The two given lines intersect when
:
that is, at the point (6, 4, 4).
The line perpendicular to both of the given lines through the origin is obtained by scaling the normal vector found earlier by
; translate this line by adding the vector
to get the line we want,