A ladder of a length of 6m is placed against a wall. The distance from the foot of the ladder to the wall is 2.5m. How far up the wall is the ladder?

y^2 + 2.5^2 = 6^2