Write an equation for the function that includes the points (1, 18) and (2, 54).