This graph represents what piecewise function?

Remark
The domain is incorrect for the top one. It should be -3 ≤ x ≤ 0. That said, the range should be - 6 ≤ y ≤ 0 and the
The domain is correct for the second answer. The range is y = 3 when 1/2 < x < 3/2