To try and get my head round it, based on the photo:
So you want to join 4 pieces of wood, pre cut as triangles with internal angles of 90degree 50degree and 40 degree.
The corners will then be butt joined with 2 of the lengths having compound mitres - similar to if you were coping the ends of...