linear function through (1, 3) and (4, 9)