Proving equivalency of regular expressions x,y are regular expressions, prove this: 
(xy+x)$^*$x = x(yx+x)$^*$*
(* in this expression is kleene star)

I am looking for a method that is applicable to prove such questions. 
I know that proof needs to show that:

1) (xy+x)$^*$x => x(yx+x)$^*$

2) x(yx+x)$^*$ => (xy+x)$^*$x

My attempt is like this:

1) (xy+x)$^*$x = 

= x(y+epsilon)$^*$x  by pulling x out -the x on the left is the one pulled out

= x(yx+x)$^*$    by distributing the last x

2) x(yx+x)$^*$ 

= x(y+epsilon)$^*$x   by pulling the x out -the right x is the one pulled out

= (xy+x)$^*$x         by distributing the first x

Does this make sense?
Thanks!
Conceptually, the simplest approach is:


Convert both regular expressions to NFA.
Determinise both NFA.
Minimize both DFA.
The regular expressions are equivalent if and only if the minimal DFA are isomorphic.


The requisite algorithms and theorems are taught in (about) every introducory class to formal languages resp. automata and can be found in (every) textbook on the topic. In fact, the point of this exercise probably was to come up with this approach, combining results from the course. Sorry for spoiling it.