The Distributive Law With Three Terms