A variablein Context free languageis usable if it appears in some derivation of some string . And a Context free grammarand a variable ,
The given grammar isambiguous context free grammar because the language and the string are formed bythe given context free grammar there exist more than one left most derivation or more than one right most derivation or more than one parse tree is called ambiguous grammar.
The LHS derivation of the given grammar,
The RHS derivation of the given grammar,
From both the derivation from LHS or RHS the derivation evaluated is same hence, this grammar is ambiguous context free grammar.
Hence, this grammar of context free grammar is usable and this problem is decidable.