On a geometrical formula involving medians and bimedians