What is the average of two real numbers is 17.5 and their product is 250

ab=250

a=250/b

but (a+b)/2=17.5
a+b=34
250/b + b=34
250+b^2=34b
b^2-34b+250=0

now use the quadratic formula to find b.