These would be special cases of the more general case analyzed here.
This analysis is more general than these special cases.