how do i calculate a 40% margin?