Assume that both long and short positions are 100. When the market is 100, you can earn 100 by closing the long position. When the market drops from 100 to 60, you can close the short position. In this way, you will lose 60 by closing the short position and earn 100 by closing the long position. 100-60=40, so you will make a net profit of 40.