Verified Answer :

\(\left\{\begin{array}{ccc}x^2&if&x \ \textless \ 2\\5&if&2\leq x \ \textless \ 4\end{array}\right\)