calculeaza lungimea frante AB C D E F G H