Answer
$x=\frac{3y-12}{2}$
When output $y=2$, input $x=-3$
Work Step by Step
$y=\frac{2}{3}x+4$
Subtracting $4$ from both sides, we obtain
$y-4=\frac{2}{3}x$
Now, multiply both sides by $\frac{3}{2}$ to get
$\frac{3}{2}(y-4)=x$
Or $x=\frac{3y-12}{2}$
When output $y=2$,
Input $x=\frac{3(2)-12}{2}=-3$