Answer:
a. When x > k, the cost of running the ad for a week can be expressed as:
C = p + e(x - k)
where C is the cost in dollars, p is the cost per k lines, e is the cost per extra line, and (x - k) is the number of extra lines over k.
b. When x ≤ k, the cost of running the ad for a week can be expressed as:
C = p
where C is the cost in dollars and p is the cost per k lines. Since the number of lines x is less than or equal to k, there are no extra lines and the cost is simply the base cost of p dollars for k lines.
Hope this helped! I'm sorry if it's wrong. If you need more help, ask me! :]