How do you figure out compound angles?

I am building a roof type area over my bar. Similar to a thatched roof on a tiki bar but using old barn tin. How do I figure out the corner angle cuts? Need to have a 90 degree corner with the roof sloping between 30 and 45 degrees.
q how do you figure out compound angles