This video goes through naming the parts of a piping offset as well as going through a couple examples on how to calculate the offset and the travel in a 45 degree offset. Make sure to check out the next video in the series once you've watched this one.
The 22 1/2 degree offset: https://www.youtube.com/watch?v=Urr6ZHd9n9A