Answer:
f(x) = {x^2 if x = (-inf , 2) , y = 5 if x [2, 4).
Explanation:
First, we look at the quadratic. Luckily, it's only x^2. Putting in the range, we have f(x) = x^2 if x < 2, or (-inf, 2).
Then, we have the line. This is the line of y = 5, and the range is if 2
x < 4, or [2, 4).