Energy diagram in bond formation question