Exchange mechanisms in CsMnxMg1−xBr3