You gain one point for every level. So if it says Attack Level 1, you gain a point in the attack stat. If it says Attack Level 4 you get 4 points added to your attack stat. Since it takes 4 Evs to raise a point you take the level and multiply by 4 and thats how many Evs you earn.