conservation of energy says
PE+KE=PE+KE
so
mgh1+.5mv^2=mgh2+.5mv^2
since the mass is the same for all it can be eliminated
so
gh1+.5v^2=gh2+.5v^2
the left side of the equation is point A and the right side is point B. so just substitute in to find the values.