So I found this question on the Internet, which turned out more tricky than I thought:
" The position of boat A is given by $x(t)=3-t$ and $y(t)=2t-4$ The position of boat B is $x(t)=4-3t)$ and $y(t)=3-2t)$ respectively. Find the value of $t$ for which the boats are closes to each other. (distances are in kilometers and time in hours)"
I solved the question by finding $|B-A|$ and differentiating so that I can see when the distance is at minimum. I got the right answer but then realised that I'm not allowed to use calculus... and here's my problem. Is there any way to solve this using vector or other geometric operations? And am I right in looking at the algorithm to find the distance between lines?