5.4C Generate a pattern when given a rule in the form of y=ax or y=a+x