Answer:
X = 5.44 m
Step-by-step explanation:
First we can calculate the normal force acting from the floor to the ladder.
W₁+W₂ = N
W1 is the weigh of the ladder
W2 is the weigh of the person
So we have:

The friction force is:

Now let's define the conservation of torque about the foot of the ladder:
Solving this equation for X, we have:

Finally, X = 5.44 m
Hope it helps!