the math is
 
Pillow Cases