To obtain the inverse fucntion basically all we have to do is re-arrange the equation and the do a small trick of swaping x and f(x), which can be done either at the start or at the end.
To factorise this equation, we must find two numbers that add together to make 3 and multiply to make -4. These numbers must be