Hello again this problem is giving me trouble

Find the point on the line y=mx+b that is closest to the orign. A complete answer should use calculus to show that the point is closest. We assume that m not= 0 and m,b are Reals.

i know your supposed to use the distance formula but i'm not sure how to go about it. Any help would be greatly appreciated. Thanks