Determine m given that m>0 and the points (m,3) and (1,m) lie on a line with slope m.