There are lots of different ways to do this. The important thing for anyone wanting to get started is just to get started and not get hung up on which one you're doing. Box breathing, Wim Hof method, etc, are all great and any breathwork is better than none. For an intro to the topic, James Nestor's Breath is excellent.
Every time I try breathwork (be it box or x-y-z) I feel that the intervals are too long - by the time I finish breathing out my brain goes into panic mode and the next breath is not enough to compensate. I find them the exact opposite of relaxing.
https://img1.wsimg.com/blobby/go/b68ec804-ba42-4194-b405-d1f...
Don’t a lot about the author. I just came across the doc on Reddit and the practical parts of what’s described checked out.