A ball projected from the ground at an angle of 45∘just clears a wall in front. If the point of projection is 4 m from the foot of the wall and the ball strikes the ground at a distance of 6 m on the other side of the wall, the height of the wall is :