the greatest common factor is the biggest counting number (1,2,3,4,5,6... and not .234 or 3/4) that is a factor of both numbers so
40=2225
50=255
the numbers 2 and 5 are in both so the greatest common factor is 25=10
10 is the greastest common factor