The distance between two parallel lines is the length of the perpendicular segment connecting the two lines.
We find the slope of the perpendicular:

Pick a point on

(let's go with

) and find where it intersects

The perpendicular line will be

We have a system of equations:


Solve:

⇒

⇒

⇒

⇒

Plug into

:

So our second point is

The distance between the points is:

⇒

⇒

⇒

⇒

⇒

So the distance between the two lines is
