Suppose the foot of the ladder is x m far from the wall.
Let the ladder is represented by AB, the height at which it reaches the wall be AC and the distance between the foot of ladder and wall be BC.
Then, by Pythagoras theorem:
Hence, the foot of the ladder is 1.4 m far from the wall.