Yeah but you are missing the point. Whilst you could eat magnsesium and zinc and get enough and get enough pyridoxine, this formula does several things...
a. Avoids having to optimise the diet which can be difficult and expensive.
b. Avoids having to eat zinc / magnesium rich foods which might give you excess calories or other undesirable ingredients as well, for instance fat.
c. Is composed to give a far greater effect than the ingredients on their own. You would not be able to replicate this effect with whole foods.