Consider the given sets,
The union set contains the elements which belong to either one of the sets or both.
So the union set of J and A is given by,
The intersection contains the elements which are present in both the sets i.e common to both the sets.
So the intersection set is given by,
Thus, the union and intersection sets are {-2,-1,1,2,3,4,5,8} and {5,8}, respectively.