I got the answer of H, B, A, G, and wanted to know if it was right?

The order goes as follows: h,b,a,g. The order you put is right, since it encompasses the greatest distance: H-G, and within the other alleles. H-B, and A-G. Thus, it appears B-A as the middle space.