In a box-and-whisker plot, the upper quartile (Q3) is represented by the right edge of the green rectangle (the box).
From your description, the green rectangle extends from -3.5 to -0.5, and the vertical line inside the rectangle is at -2. Since the upper quartile is the upper boundary of the box, it is at -0.5.
Therefore, the upper quartile of the data illustrated in the box-and-whisker plot is -0.5.