Answer:
2 is the mechanical advantage of the machine.
Step-by-step explanation:
Mechanical advantage of a machine is defined as ratio of force exerted by the machine to the force exerted on the machine.

Resistance force,
 = 40 N
 = 40 N
Effort force, 
 = 20 N
 = 20 N

2 is the mechanical advantage of the machine.