Prove: R^(-1)[R[A]] superset A intersect domR and R[R^(-1)[B]] superset B intersect ranR. Give examples where equality does not hold.

Does anyone have any thoughts on how to do this?