As per the question, it states that the process involves two functions. Why would each function be considered as a different calculation and not one iteration involving both functions be considered a single calculation?

The solution considers them as separate calculations, but unless an output of g(x) is not presented as an input for f(x), the consequent output of f(x) cannot be considered as input for g(x). So wouldnâ€™t both functions processed together be taken as one iteration/ calculation?

However, the question makes it clear that it requires you to consider the process of getting the value from each function as a separate calculation. If otherwise, it would have been phrased differently.

In addition, the desired value 0, could come at the end of either a g(x) or f(x) calculation, so they must be discrete.

Lastly, If you decided to treat them as round trips (considering the value of g(x) into f(x) as 1 calculation), the answer in this case would be 6.5, which is clearly not possible (â€śNumber of calculationsâ€ť would not be a decimal). Although that is only in this case. It is possible the question could have had the answer from the â€śround tripâ€ť approach in the options. In which case it would simply be wrong.

So try and ensure you only use the information provided in the question as the basis for your answer.