Here as we can see that weight on the right side of ruler given as D is applying torque about the fulcrum this is counter balanced by weight on left side given as A
now by torque balance we can say

now we will have

now here as per given setup we can see that

so here we will have

so the weight required to hold D will be more and correct answer will be
The setup increases the amount of force required to lift the block and, therefore, decreases your mechanical advantage.