Magnesium is easy. Eat green leafy stuff. Photosynthesis = magnesium production.