So now we can write down that one-half m vA squared equals one-half m vB squared plus mg times h1-- that is the potential energy at point B-- it's higher than this point A-- vertical separation h1-- and that equals the potential energy at point C, which is mg times h1 plus h2. 