I got the right answer to this q, but looking back I don't really see why this logic is correct.

Initially, it made sense since each one of the 4 segments, can either be below the x axis or above it, which means 2 options for each of the 4, so 2^4 = 16.
But why cant each segment be both above and below it? I dont think theres anything in the q preventing this? i.e.

In this case there are 3 options for each segment (above/below the xaxis or both), so shouldn't the answer be 3^4 = 81?
Help greatly appreciated.