can someone please explan what the line segment [-1,0]x{0} means? i don't understand the notation. if someone could explain it to me it would help me a lot!
Sure. If you interpret (x,y) as a point in the plane that's a square. The 'x' is called the cartesian product. AxB is the set of all (x,y) such that x is in A and y is in B. (BTW you usually want to write the unit interval as [0,1], not [1,0]).
You know what the sets mean, right? It says that the closure and boundary of the set of all rational points in the filled unit square are equal to ALL points in the filled unit square. (By filled I mean it includes the interior of the square).