THEORETICALY:
Since, given grammar is not in CNF we need to Convert CFG to CNF !
On conversion of CFG to CNF of the given grammar will change from 5 production to 10 productions.
Now we need to generate string W using these 10 CNF production. we would get 19 productions
DIRECTLY:
Will be using as for CNF as per formula #PRODUCTIONS=2*length of string-1 {where length of string is 10}
=19 PRODUCTIONS