find the value of a and b if (a+b)/2=10 and(a.b)*(a.b)=8 .

You sure it's as written?

(a+b)/2 = 10
a^2 b^2 = 8

??

Makes for an awkward solution set