1. Start with the grammar G6 from your textbook, repeated here: Please modify the grammar G6...
1. Start with the grammar G6 from your textbook, repeated here: Please modify the grammar G6 in the following ways: Add subtraction and division operators(-and /) with the customary precedence and associativitv ·Then add a left-associative operator % between + and in precedence. . Then add a right-associative operator at lower precedence than any of the other oper ators. Please note that you need not show the intermediate grammars produced as a result of each modification specified above; just provide the final grammar that is the result of modifying G6 as specified. 2. Prove that each of the following grammars is ambiguous: Grammar H2a: <person> ::- <woman> <man> <woman> ::-wilma betty <empty> <man> : :# fred l barney <empty» Grammar H2b: