help. I need this ASAP

Answer:
4
Step-by-step explanation:
The input is x and the output is y. If y is 12, then the equation would be 12 = 3x. We know that 3 times something equals 12, so we can divide to find the answer.
12/3=4.
To check our answer we can multiply.
3x4=12.
So x = 4
I hope this helps :)