On the first pass, you know ...
Then on the second pass, you can figure ...
And the remaining angles can be determined using external angle and sum-of-angle relationships.