How does simpson's rule work?

Why does it go 4,2,4....?