Answer:
40 N
Step-by-step explanation:
Newton's third law of motion describes that if an object exerts force onto another object, the second object will exert a force of equal magnitude and opposite direction.
If boat A exerts 40 N on boat B, boat B will exert 40 N on boat A.