A ladder leans against a wall with its foot 2 metres away from the wall and it makes a 40° angle with the ground. How high is the top of the ladder from the ground?