To prove A=BA = BA=B, prove A⊆BA \subseteq BA⊆B and B⊆AB \subseteq AB⊆A.
Each inclusion is a subset proof: take an arbitrary element of one set and show it lies in the other.