Function machines are used to apply operations in a given order to a value known as the input. The final value produced is the output.
In this case, we have:
Part a)
The function machine of this function is:
Part b)
The function machine of this function is:
.