=========================================================
Explanation:
This is the given piecewise function
[tex]h(a) = \begin{cases}3a+2 \text{ when } a > 3\\4a+5 \text{ when } a = 3\\3 \text{ when } a < 3\\\end{cases}[/tex]
We can rewrite things like this
[tex]\text{when } a > 3, \ \ h(a) = 3a+2\\\text{when } a = 3, \ \ h(a) = 4a+5\\\text{when }a < 3, \ \ h(a) = 3\\[/tex]
I personally prefer this format better because it mentions the inputs first, and that leads to which function definition we go for.
The input a = 2 fits the description of [tex]a < 3[/tex] since [tex]2 < 3[/tex] is a true statement. Therefore we go for the third line and can see that [tex]h(a) = 3[/tex] becomes [tex]h(2) = 3[/tex]
-----------
As another example, if we had the input a = 7, then we'd go for the first line (since 7 > 3) and get
h(a) = 3a+2
h(7) = 3(7)+2
h(7) = 23