For real numbers $x$, let
f(x)={x+2 if x>3,2x+a if x≤3.
What must the value of $a$ be to make the piecewise function continuous (which means that its graph can be drawn without lifting your pencil from the paper)?
At $3$, it must be continuous. So $2*3+a=3+2\implies \boxed{a=-1}$.