What is the difference between... these two intervals

When dealing with inequalities like this , The problem states that I need to write the given set as an interval or a union of two intervals. Are the answers above both correct? Click image to enlarge please.