find the vector and the cartesian equation of the line passing through (1,2,3) and parallel to the planes x-y+2z=5 and 3x+y+z=6

Take a look how I did a question very similar to yours.

All you have to do is change the numbers, the method will stay the same

http://www.jiskha.com/display.cgi?id=1336436923