Answer:
algorithm
Step-by-step explanation:
An algorithm is an ordered set of unambiguous executable steps, defining a process that has start, middle and end, then follows a logical sequence. In other words algorithm is simply a "recipe" to perform a task or solve a problem. And like every recipe, an algorithm must also be finite. If we follow a cake recipe correctly, we can make the cake, following this logic, if we know how to follow the steps of an algorithm we can solve the problem.
Gregory is using the algorithm while following a logical sequence to find out how many miles per hour equals one kilometer.