I ended up with the following system of equations in the frequency domain: \begin{equation} \mathcal{L}\{f\}(s)=\frac{\alpha (s \beta+ \gamma)}{(s \delta + \alpha+\gamma)(s\beta+\gamma)-\gamma \gamma} \end{equation}
\begin{equation} \mathcal{L}\{g\}(s)=\frac{\alpha \gamma}{(s \beta +\gamma)(s \delta + \alpha+\gamma)-\gamma \gamma} \end{equation}
where $\alpha, \beta, \gamma, \delta$ are constants.
I want to factorise them first so I can transform them back to the time domain.
Can anyone give a hint how to factorise the above equations?
Factor out the $\beta$ and $\delta$ from the denominator, then you will be left with something of the form $(s+a)(s+b) -c$. Try writing this as $(s-d)^2 - e$. (so I'm working towards 25 in this table.)
Can you work it out from here? You need to write out $(s+a)(s+b)$ and $(s-d)^2$ out and try to find $d$ and $e$ to get the trick done.