theres an inverted triangle that has in the top a big circle pulley to which is connected a hanging small pulley
when the system falls is equivalent to the big pulley rotating, and that makes rotate the hanging small pulley that holds a weight
but for evey 10º the big pulley spins as it falls the small pulley spins 40º
taking this into account if it falls over the weight will raise
so it just shouldnt fall or the cog will raise