"Mag-" is a verb prefix. We have root words, i.e. bigay, punta, aral which by themselves are not verbs and we then add "mag-" to transform them into verbs.
"Nag-" is the prefix for incompleted ("present tense") or completed ("past tense") aspects of the verbs.
To give you an example:
ROOT: ARAL
mag-aral = to study
nag-aral = studied
nag-aaral = study, studies, is studying
mag-aaral = will study
In your sentence, there is no need to use "ng" before "mag-aral" because "ng" is used before nouns only.
Hope this helps.