Step: 1
y = 4 if
x ≤ 0
= 3
x if 0 <
x ≤ 1
= 1 - 2
x if 1 <
x < ∞
[Write the function.]
Step: 2
The graph of the given piecewise function will be in three pieces.
Step: 3
The function
y = 4, if
x ≤ 0 indicates that the graph is parallel to
x axis at
y = 4, begins when
x = 0, and is to the left of the origin as shown.

Step: 4
The function
y = 3
x, if 0 <
x ≤ 1 indicates that the graph begins when
x > 0 and it touches
y = 3 at
x = 1, which is to the right of the origin as shown.

Step: 5
The function
y = 1 - 2
x, if 1 <
x < ∞ indicates that the graph begins when
x > 1, which is to the right of the orgin as shown.

Step: 6
Therefore, graph 2 represents the given piecewise function,

Correct Answer is : Graph 2