what is the output of this function when the input is 5?

what is the output of this function when the input is 5?
Answer
Explanation:
Step1: Locate x - value on graph
Locate x = 5 on the x - axis.
Step2: Find corresponding y - value
Move vertically from x = 5 until intersecting the function graph, then move horizontally to find the y - value on the y - axis. The y - value at x = 5 is 2.
Answer:
2