1. IVT and Jump discontinuity

As I understand it IVT states that there will always be one value between an interval that satisfies it. Which is pretty easy to understand. If it doesn't work it means you have some kind of discontinuity. However, this problem in this book is asking me draw a graph of a function f(x) on [0,4] with the given property.

Jump discontinuity at x = 2, yet does satisfy the conclusion of the IVT on [0,4]. I've tried to wrap my head around this but It has me stumped. I assume it's a trick question but before I lay it to rest I have to ask.

Thanks.

2. I just had an idea is it a Tan function? Because technically it can break at x =2 but still satisfies every M for every c between [0,4] But is that considered jump discontinuity or an infinite