Example 18 If A.M. and G.M. of two positive numbers a and b are 10 and 8