Perpendicular Function Solver

Given a point A(x,y) and a slope, find the perpendicular function who pass at the given point.

Point A Slope