A U B means "Union of sets A and B". That new set contains all the elements that are in A or in B (inclusively).
To write the elements of A U B, you just write once each element. So if there is one element that's in both A and B sets, you just write it once. Therefore:
A U B = {Olive, Pumpkin, Tomato, Kiwifruit, Pear}