Solving the two straight line equations simultaneously, we get the intersection point of the given two lines has coordinates (2,1).
Since the required straight line has infinite slope, so its equation is given by x=k. This passes through (2,1). So, the line has equation x=2.
Therefore, its perpendicular distance from the origin is 2.