We have been given the difference of two sets in two different orders and we are supposed to write the sets a and b.
We are given,

We know that the difference a-b represents the elements which are present in a but they are not present in b.
Similarly, b-a represents the elements which are present in b but not present in a.
Since we have been given that
.
Therefore, we can include these elements to a-b and b-a in order to get the sets for a and b, as shown below:
