A line passes through the points (−2,10) and (1,4). What is the y-intercept of this line?
(0,6)
(0,8)
(0,10)
(0,12)