Joker Function | Math Problem

Click here to read the complete problem statement.

Can I assume that f(x)=mx+c?