Let the two positive numbers are a and b
By given condition A.M. = GM. +5 or A=G+5..........(i) G.M. = HM. +4 or G=H+4.......(ii)
we know G2=AH
or G2=(G+5)(G−4) [By (i) and (ii)] ⇒G=20 ∴A=25 and H=16
Again A=2a+b ∴2a+b=25 ⇒a+b=50 G=ab ∴ab=20 ⇒ab=400
solving the equation we get a=10,b=40