5.4.C: Generate a numerical pattern when given a rule in the form y = ax or y = x + a and graph.