Rittik Mitra's answer to Xiaoyang's Junior College 1 H2 Maths question.

done {{ upvoteCount }} Upvotes
clear {{ downvoteCount * -1 }} Downvotes
Rittik Mitra
Rittik Mitra's answer
6 answers (Tutor Details)
The idea is to basically find the vector direction of the line and multiply it with the direction of a vector that connects to a point on the line from point O, as perpendicular vectors give 0 when multiplied. Hope the answer was clear enough, feel free to clarify any doubts.