how to find the distance when calculating moment of force

how to find the distance when calculating moment of force