Any explanation and answer? for this maths question

See attached
Step-by-step explanation:
a) 5 is first subtracted (1st operation) then output is multiplied by 4 (2nd operation). The final output therefore, is;
(n -5 ) 4 = 3x
b) To get an output of 3x +1; it means x (the input) is firstly multiplied by 3 (1st operation), then 1 is added in the second operation