LetAandBbe 2 points on a line andPbe a point off the line. Prove that the shortest distance fromPtoABis given by the following equation:

I've tried to solve fordusing the Pythagorean theorem and the projection of onto for one side and anddfor the other sides, but I'm stumped.

I can't relate it to the cross product. Can anyone help? Thanks!