Write Algebraic Expression for the Description of Pattern Rule