Hey everybody, I just had a quick question about domain and how to write them in interval notation (I think that's what it's called).

So I have one problem,

For this problem I got the domain:

For the other problem,

with this domain:

My question is this: why are there two 'U' in the first domain but not the second one? Have I just written the second one incorrectly? Any help is appreciated!