for the question: State a function that has an infinite discontinuity at x = 0 and a jump discontinuity at x = 3

I believe that creating an infinite discontinuity at x=0 requires x in the denominator of a rational function. Do I create a jump discontinuity by creating a piece-wise function?