First, write the rate as a decimal by moving the decimal point two places to the left from the percent.
r = 5% = 0.05
C = p + rp
C = 30.99 + 0.05 * 30.99
C = 30.99 + 1.55
C = 32.54
Answer: The total cost is $32.54
You can get a vertical asymptote at x=1 using y = 1/(x-1)
You can generate a hole at x=3 by multiplying by (x - 3/(x - 3) which is undefined at x=3 but otherwise equals 1
You can move the horizontal asymptote up to y=2 by adding 2
y = (x - 3)/((x - 1)(x - 3)) + 2