If the numbers be a and b, then
A−G=2∴(a+b)/2−√ab=2
or (√a−√b)2=4 ...(1)
G−H=85∴√ab−2aba+b=85
or √ab[a+b−2√ab]a+b=85
or 5√ab(√a−√b)2=8(a+b)
or 5√ab.4=8(a+b), by (1)
∴2a−5√ab+2b+0
or (2√a−√b)(√a−2√b)=0
∴√a=2√bor(√b/2)∴a=4bor(b/4)
Form (1), (2√b−√b)2=4orb=4
∴√a=2√b=4ora=16
Hence the numbers are 16 and 4. The other factor will give numbers as 4 and 16.