(0) Obligation:

Q restricted rewrite system:
The TRS R consists of the following rules:

a(a(b(x))) → b(c(b(a(a(a(x))))))
a(c(x)) → b(x)

Q is empty.