Magnetic Interactions and Distribution of Ions in the Garnets