Answer
$x=4y+4$
When output $y=2$,
Input $x=12$.
Work Step by Step
$y=\frac{1}{4}x-1$
Adding $1$ to both sides, we get
$y+1=\frac{1}{4}x-1+1$
$\implies y+1=\frac{1}{4}x$
Multiplying by $4$ on both sides, we get
$4(y+1)=4\times\frac{1}{4}x$
$\implies x=4y+4$
When output $y=2$,
Input $x=4(2)+4=12$