Here is a number machine.

Answer:
The output is 3n + 6
Step-by-step explanation:
You have to apply all of the steps in order:
Since we cannot simplify n+2, we have to write it as (n+2). Next, since we do the next step, multiply by 3. This would be 3(n+2), and if you apply the distributive property (multiply), you would get 3 * n + 2 * 3, or 3n + 6.
Answer: 3n + 6