# Distance between point & line

Find the distance between a point and a line. Watch out, some lines of the lines are perfectly horizontal or vertical.

### Problem

Find the minimum distance between the point start color red, left parenthesis, 2, comma, 2, right parenthesis, end color red and the line start color blue, x, equals, 6, end color blue.