Text this: An analytical model for two-step reaction gamma-ray spectroscopy in magnetized plasmas