You have not shown figure 3.
Assuming that you got the resultant moment part (a),
For part (b), you have to apply F at right angle to the rod in the same vertical plane at, let's say, distance D from the hinge.
Since the application of F is keeping the rod in equilibrium (F has to create a moment in the directly opposite direction to that of in part (a)).
So,
F x D = moment in part (a) (which is a number, a constant)
F = moment in part (a) (which is a number, a constant) / D
Now, for F to be the least, D has to be as large as possible.
Since the F can only be applied on the rod, the largest possible D is the length of the rod from A (i.e. hinge).