The foot of a ladder is 2m away from a vertical wall. The height of the top of the ladder is half a meter less than the length of the ladder. Find the length of the ladder.

Thank you