For this problem we use Newton's third law. For the r in the equation we need to use the distance from the center of the two objects (in this case the earth and moon).