here the simple machine must be a pulley system that can be used here
When pulley system is used as simple machine the force applied by 10 g car is able to pull the 50 g weight by 2 inch in air
So here Mechanical advantage can be defined as
[tex]MA = \frac{output}{input}[/tex]
here for output we will have
[tex]output = 50gram* 2 inch[/tex]
similarly for input
[tex]input = 10 gram * 2inch[/tex]
now the mechanical advantage will be given as
[tex]MA = \frac{50 gram * 2 inch}{10 gram * 2inch}[/tex]
so here we have
[tex]MA = 5[/tex]
so we have mechanical advantage of 5