I bet you're doing it the hard way: you're trying to pick the two discontinuous functions.
It's much harder to be continuous than it is to be discontinuous -- so you should pick the continuous function first, and then worry about what the discontinuous functions are.