Let,
A be the vector acting along hunter and P1 and
B be the vector acting along P1 and P2
Also,
R be the vector of velocity with which hunter travels perpendicular to P1.P2
Then,
→A=(−1−4)^i+(2+1)^j+(0−5)^k=−5^i+3^j−5^k and
→B=(1+1)^i+(1−2)^j+(4−0)^k=2^i−^j+4^k