what is the output when the input is n.

Answer:
a) the output is 245 when the input is 40.
b) The output is 5n+45 when the input is n.
Step-by-step explanation:
a) We need to calculate the output when the input is 40.
The steps for calculating output are:
Input --> Add 9 --> Multiply by 5 ---> Output
So, if input is 40
The output will be:
Input --> Add 9 --> Multiply by 5 ---> Output
40 ---> 40+9 ----> 5(49) ----> 245
So, the output is 245 when the input is 40.
b) We need to calculate the output when the input is n.
The steps for calculating output are:
Input --> Add 9 --> Multiply by 5 ---> Output
So, if input is n
The output will be:
Input --> Add 9 --> Multiply by 5 ---> Output
n ---> n+9 ----> 5(n+9) ----> 5n+45
So, the output is 5n+45 when the input is n.