Number of days Ali cycles = 16
Distance covered in one day = 20 km
Therefore Total Distance covered by Ali = Number of days Distance of one day=1620= 320 km
Similarly,
Number of days Sam cycles = 20
Distance covered by Sam in one day = 16 km
Therefore Total Distance covered by Sam= Number of days Distance of one day=2016= 320 km.
Clearly, 1620=2016 holds Commutative property of multiplication.
Hence both Ali and Sam covered the same distance.