Here S is the non-terminal start symbol; A, B, C are non-terminal symbols; x, y, are terminal symbols
S → A B A C | A C A B
A → A x | A y
B → B x x | B y y
C → x y | y x
Having watched videos I understand simple examples for eliminating left recursion in production rules such as
S → a S a
S → b S b
S → ε
but I don't understand how to eliminate left recursion in the rules shown above. Can anyone explain or point me in the direction of an explanation?