resolving P1, P2 and P3 into x and y component
Px = P1cosθ1
Py = P1sinθ1
Px = P2cosθ2
Py = −P2sinθ2
Px = −P3cosθ0
therefore
total Px = P1cosθ1 + P2cosθ2 + −P3cosθ0 = 0
total Py = P1sinθ1 + −P2sinθ2 = 0
so that P1sinθ1 = P2sinθ2
P3cosθ0 = P1cosθ1 + P2cosθ2