I am trying to build this at home. I was just wondering what the best approach would be to join at these angles?

I was thinking about using pegs/dowels and glue, any suggestions would be much appreciated!

[![Example](https://i.stack.imgur.com/ZNA9M.jpg)](https://i.stack.imgur.com/ZNA9M.jpg)