For problem 2-37 : (6th Edition Meriam) Calculate perpendicular distance of point O from line of a…