A compound contains magnesium and nitrogen consists of 45% nitrogen. What percentage of magnesium must be in the compound?