A ladder 5cm long long rest against a wall such that its foot makes an angle 30o with the horizontal. How far is the foot of the ladder from the wall?