Making Heuristic State Space Search Optimal

Q: What is different about the two vertices representing J in the search tree?