Applying the Distributive Law With Linear Expressions