What is the greatest common factor of 10 and 40? Check the final answer first, then review the worked steps.