根据题意得x1+x2=m>0,x1 x2=5(m-5)>0,
则m>5,
∵2x1+x2=7,
∴m+x1=7,即x1=7-m,
∴x2=2m-7,
∴(7-m)(2m-7)=5(m-5),
整理得m2-8m+12=0,
(m-2)(m-6)=0,
解得m1=2,m2=6,
∵m>5,
∴m=6.
根据题意得x1+x2=m>0,x1 x2=5(m-5)>0,
则m>5,
∵2x1+x2=7,
∴m+x1=7,即x1=7-m,
∴x2=2m-7,
∴(7-m)(2m-7)=5(m-5),
整理得m2-8m+12=0,
(m-2)(m-6)=0,
解得m1=2,m2=6,
∵m>5,
∴m=6.