Distance from a point to a line

From GeeksforGeeks. Perpendicular distance formula. Solve the geometry problem "Distance from a point to a line".

Examples
Input: [1,2,3]
Output: 0
Hints

Distance from a point to a line

**From GeeksforGeeks.** Perpendicular distance formula. Solve the geometry problem "Distance from a point to a line".