I don't understand --
-- if line m has equatioin y = 2x - 5
-- if line n has equation y = x + 22
they won't be parallel because they don't have the same slope (the slope of m is 2 while the slope of n is 1).
Do you mean that they aren't parallel and you need to know where they intersect?