I'm kind of confused as to whether or not my answer is correct. I'm not asking anyone to give me the right answer if I'm wrong but rather I would like to know if my understanding for this topic is correct because if it is not, then if possible I would like be pointed to a decent reference so I can study more on this until I really understand it.
What I'm supposed to do is to create a Context-Free Grammar rule and derive it using leftmost derivation for this statement:
if ( a >= b ) { w = x; z = x / y + w; }