find the equation of the line with the given properties

slope 1/2,y-intercept (0,5)

slope 3 passing through the point (2,2)

passing through the points (5,2) and (1,10)