Well let's start by describing the ordering that they suggest.
An ordering is a relation which is a set of ordered pairs. If (x,y) belongs to the relation then x<y. So we have the set of ordered pairs R union S union AxB. AxB is the set (a,b) where a is from A and b is from B. By this ordering all elements of A are less than all elements of B.
So given any two elements of A union B, can you compare them? If so, then this is a total ordering.
Given any subset of A union B, is there a least element? Think of it in terms of the number line. All the elements of A are to the left of all the elements of B. And A and B are themselves well ordered.
Hope that helps.